author | Michael Krelin <hacker@klever.net> | 2004-07-23 21:31:57 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-23 21:31:57 (UTC) |
commit | 125671c860a82643d36bc3da279d0b831fae4b34 (patch) (side-by-side diff) | |
tree | ab5edcac7c58e769c9d8436ae0e803edb2ebca9f /man | |
parent | 0a7f5999eb47ce113b3cd47b03198947441945a7 (diff) | |
download | dudki-125671c860a82643d36bc3da279d0b831fae4b34.zip dudki-125671c860a82643d36bc3da279d0b831fae4b34.tar.gz dudki-125671c860a82643d36bc3da279d0b831fae4b34.tar.bz2 |
ability to send arbitrary signals
-rw-r--r-- | man/dudki.8.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/man/dudki.8.in b/man/dudki.8.in index 05db733..be60f53 100644 --- a/man/dudki.8.in +++ b/man/dudki.8.in @@ -1,81 +1,88 @@ -.TH dudki 8 "June 9th, 2004" "dudki(8)" "Klever Group (http://www.klever.net/)" +.TH dudki 8 "July 23rd, 2004" "dudki(8)" "Klever Group (http://www.klever.net/)" .hla en .ds longopt @HAVE_GETOPT_LONG@ .SH NAME -dudki \- a process monitoring daemon +dudki \- a process maintenance daemon .SH SYNOPSYS \fBdudki\fR [\fB-h\fR] .if \*[longopt] [\fB--help\fR] [\fB--usage\fR] [\fB-V\fR] .if \*[longopt] [\fB--version\fR] [\fB-L\fR] .if \*[longopt] [\fB--license\fR] [\fB-f\fR \fIconfigfile\fR] .if \*[longopt] [\fB--config=\fR\fIconfigfile\fR] [\fB-k\fR] .if \*[longopt] [\fB--kill\fR] [\fB-r\fR] .if \*[longopt] [\fB--reload\fR] [\fB-c\fR] .if \*[longopt] [\fB--check\fR] +[\fB-s\fR \fIsignum\fR] +.if \*[longopt] [\fB--signal=\fR\fIsignum\fR] [\fB-e\fR] .if \*[longopt] [\fB--ensure\fR] [\fB-t\fR] .if \*[longopt] [\fB--test\fR] [\fI<process-list>\fR] .SH DESCRIPTION dudki daemon is designed to run in the background and periodically check if certain processes specified in the configuration file are running. If a process is detected as dead dudki tries to restart it using the command line specified in the configuration file and notifies the specified contact (currently only via email). .SH OPTIONS .TP .ie \*[longopt] \fB-f\fR \fIconfigfile\fR, \fB--config=\fR\fIconfigfile\fR .el \fB-f\fR \fIconfigfile\fR Specify the configuration file to use (default is \fI@sysconfdir@/dudki.conf\fR). .TP .ie \*[longopt] \fB-k\fR, \fB--kill\fR .el \fB-k\fR Stop the running instance by sending the \fBSIGTERM\fR signal. If no process name specified on the command line, dudki kills his own running instance. .TP .ie \*[longopt] \fB-r\fR, \fB--reload\fR .el \fB-r\fR Reload the running instance by sending the \fBSIGHUP\fR signal. Like with \fB-k\fR, if no process name specified on the command line, dudki sends \fBSIGHUP\fR to his own running instance. .TP +.ie \*[longopt] \fB-s\fR \fIsignum\fR, \fB--signal=\fR\fIsignum\fR +.el \fB-s\fR \fIsignum\fR +Send arbitrary signal to the names processes (or self, but it doesn't make much +sense). +.TP .ie \*[longopt] \fB-c\fR, \fB--check\fR .el \fB-c\fR Check if dudki is running. Exit with non-zero status if not. The same target rules as in \fB-k\fR and \fB-r\fR apply here. .TP .ie \*[longopt] \fB-e\fR, \fB--ensure\fR .el \fB-e\fR Ensure that dudki is running. Load, if not. Useful for running as a cron job once in a while. If the daemon is running runs quietly providing no output. .TP .ie \*[longopt] \fB-t\fR, \fB--test\fR .el \fB-t\fR Check the syntax of configuration file and exit. .TP .ie \*[longopt] \fB-h\fR, \fB--help\fR, \fB--usage\fR .el \fB-h\fR Display short usage message and exit. .TP .ie \*[longopt] \fB-V\fR, \fB--version\fR .el \fB-V\fR Report version and exit. .TP .ie \*[longopt] \fB-L\fR, \fB--license\fR |