summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-15 04:28:57 -0500
committerJune McEnroe <june@causal.agency>2020-02-15 04:28:57 -0500
commit357ded8958bfaefaa02a57fa71de7857602fdb9b (patch)
tree59e7755c7f8c803fe179d115be424c47ed841601
parentAdd /kick (diff)
downloadcatgirl-357ded8958bfaefaa02a57fa71de7857602fdb9b.tar.gz
catgirl-357ded8958bfaefaa02a57fa71de7857602fdb9b.zip
Document exit status
-rw-r--r--catgirl.112
1 files changed, 11 insertions, 1 deletions
diff --git a/catgirl.1 b/catgirl.1
index 86bf53d..f1b816d 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -1,4 +1,4 @@
-.Dd February 14, 2020
+.Dd February 15, 2020
 .Dt CATGIRL 1
 .Os
 .
@@ -478,6 +478,16 @@ usually
 The most likely location of save files.
 .El
 .
+.Sh EXIT STATUS
+The
+.Nm
+client exits 0
+if requested by the user,
+.Dv EX_UNAVAILABLE
+(69)
+if the connection is lost,
+and >0 if an error occurs.
+.
 .Sh EXAMPLES
 Command line:
 .Bd -literal -offset indent
nroe 2020-08-15Fix resetting restart interval with explicit restartJune McEnroe 2020-08-15Add reset interval after which restart interval is resetJune McEnroe 2020-08-15Log when service name pattern doesn't matchJune McEnroe 2020-08-15Add FreeBSD rc scriptJune McEnroe 2020-08-15Call setproctitle with number of servicesJune McEnroe 2020-08-15Rename project to catsitJune McEnroe 2020-08-15Use only LOG_NOTICE and LOG_WARNINGJune McEnroe 2020-08-15Make log messages consistentJune McEnroe 2020-08-15Remove closelog callJune McEnroe 2020-08-15Implement service statusJune McEnroe 2020-08-15Parse control commandsJune McEnroe 2020-08-15Read service pipesJune McEnroe 2020-08-15Implement non-blocking line-buffered readingJune McEnroe 2020-08-15Generate tags fileJune McEnroe 2020-08-15Just use CLOCK_MONOTONIC and clean up includesJune McEnroe 2020-08-15Reap childrenJune McEnroe 2020-08-14Implement serviceSignal, serviceStop, serviceRestartJune McEnroe 2020-08-14Reset restartInterval and restartDeadline on startJune McEnroe 2020-08-14Switch to timespec for timeoutsJune McEnroe 2020-08-14Implement serviceStartJune McEnroe 2020-08-14Flesh out Service structJune McEnroe 2020-08-14Build environment for servicesJune McEnroe 2020-08-14Implement spawntab parsingJune McEnroe 2020-08-14Open syslog, daemonize, write PIDJune McEnroe 2020-08-14Implement user and group lookupJune McEnroe 2020-08-14Add install targetJune McEnroe 2020-08-14Add spawnd skeletonJune McEnroe