diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/runsv.8 | 11 | ||||
-rw-r--r-- | man/svlogd.8 | 9 |
2 files changed, 19 insertions, 1 deletions
diff --git a/man/runsv.8 b/man/runsv.8 index 81048fb..824de2f 100644 --- a/man/runsv.8 +++ b/man/runsv.8 @@ -24,6 +24,17 @@ If ./run or ./finish exit immediately, .B runsv waits a second before starting ./finish or restarting ./run. .P +Two arguments are given to ./finish. +The first one is ./run's exit code, or -1 if ./run didn't exit normally. +The second one is the least significant byte of the exit status as +determined by +.BR waitpid (2); +for instance it is 0 if ./run exited normally, and the signal number +if ./run was terminated by a signal. +If +.B runsv +cannot start ./run for some reason, the exit code is 111 and the status is 0. +.P If the file .IR service /down exists, diff --git a/man/svlogd.8 b/man/svlogd.8 index 126e40b..a7a4ba9 100644 --- a/man/svlogd.8 +++ b/man/svlogd.8 @@ -3,7 +3,7 @@ svlogd \- runit's service logging daemon .SH SYNOPSIS .B svlogd -[\-ttv] [\-r +[\-tttv] [\-r .I c\fR] [\-R .I xyz\fR] [\-l .I len\fR] [\-b @@ -368,6 +368,13 @@ the form YYYY-MM-DD_HH:MM:SS.xxxxx when writing to .I log or to standard error. .TP +.B \-ttt +timestamp. +Prefix each selected line with a human readable, sortable UTC timestamp of +the form YYYY-MM-DDTHH:MM:SS.xxxxx when writing to +.I log +or to standard error. +.TP .B \-r \fIc replace. .I c |