summaryrefslogtreecommitdiffabout
path: root/man/dudki.8.in
authorMichael Krelin <hacker@klever.net>2004-07-23 21:31:57 (UTC)
committer Michael Krelin <hacker@klever.net>2004-07-23 21:31:57 (UTC)
commit125671c860a82643d36bc3da279d0b831fae4b34 (patch) (unidiff)
treeab5edcac7c58e769c9d8436ae0e803edb2ebca9f /man/dudki.8.in
parent0a7f5999eb47ce113b3cd47b03198947441945a7 (diff)
downloaddudki-125671c860a82643d36bc3da279d0b831fae4b34.zip
dudki-125671c860a82643d36bc3da279d0b831fae4b34.tar.gz
dudki-125671c860a82643d36bc3da279d0b831fae4b34.tar.bz2
ability to send arbitrary signals
Diffstat (limited to 'man/dudki.8.in') (more/less context) (ignore whitespace changes)
-rw-r--r--man/dudki.8.in11
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,128 +1,135 @@
1.TH dudki 8 "June 9th, 2004" "dudki(8)" "Klever Group (http://www.klever.net/)" 1.TH dudki 8 "July 23rd, 2004" "dudki(8)" "Klever Group (http://www.klever.net/)"
2.hla en 2.hla en
3.ds longopt @HAVE_GETOPT_LONG@ 3.ds longopt @HAVE_GETOPT_LONG@
4 4
5.SH NAME 5.SH NAME
6 6
7dudki \- a process monitoring daemon 7dudki \- a process maintenance daemon
8 8
9.SH SYNOPSYS 9.SH SYNOPSYS
10 10
11\fBdudki\fR [\fB-h\fR] 11\fBdudki\fR [\fB-h\fR]
12.if \*[longopt] [\fB--help\fR] [\fB--usage\fR] 12.if \*[longopt] [\fB--help\fR] [\fB--usage\fR]
13[\fB-V\fR] 13[\fB-V\fR]
14.if \*[longopt] [\fB--version\fR] 14.if \*[longopt] [\fB--version\fR]
15[\fB-L\fR] 15[\fB-L\fR]
16.if \*[longopt] [\fB--license\fR] 16.if \*[longopt] [\fB--license\fR]
17[\fB-f\fR \fIconfigfile\fR] 17[\fB-f\fR \fIconfigfile\fR]
18.if \*[longopt] [\fB--config=\fR\fIconfigfile\fR] 18.if \*[longopt] [\fB--config=\fR\fIconfigfile\fR]
19[\fB-k\fR] 19[\fB-k\fR]
20.if \*[longopt] [\fB--kill\fR] 20.if \*[longopt] [\fB--kill\fR]
21[\fB-r\fR] 21[\fB-r\fR]
22.if \*[longopt] [\fB--reload\fR] 22.if \*[longopt] [\fB--reload\fR]
23[\fB-c\fR] 23[\fB-c\fR]
24.if \*[longopt] [\fB--check\fR] 24.if \*[longopt] [\fB--check\fR]
25[\fB-s\fR \fIsignum\fR]
26.if \*[longopt] [\fB--signal=\fR\fIsignum\fR]
25[\fB-e\fR] 27[\fB-e\fR]
26.if \*[longopt] [\fB--ensure\fR] 28.if \*[longopt] [\fB--ensure\fR]
27[\fB-t\fR] 29[\fB-t\fR]
28.if \*[longopt] [\fB--test\fR] 30.if \*[longopt] [\fB--test\fR]
29[\fI<process-list>\fR] 31[\fI<process-list>\fR]
30 32
31.SH DESCRIPTION 33.SH DESCRIPTION
32 34
33dudki daemon is designed to run in the background and periodically 35dudki daemon is designed to run in the background and periodically
34check if certain processes specified in the configuration file are 36check if certain processes specified in the configuration file are
35running. If a process is detected as dead dudki tries to restart it 37running. If a process is detected as dead dudki tries to restart it
36using the command line specified in the configuration file and notifies 38using the command line specified in the configuration file and notifies
37the specified contact (currently only via email). 39the specified contact (currently only via email).
38 40
39.SH OPTIONS 41.SH OPTIONS
40 42
41.TP 43.TP
42.ie \*[longopt] \fB-f\fR \fIconfigfile\fR, \fB--config=\fR\fIconfigfile\fR 44.ie \*[longopt] \fB-f\fR \fIconfigfile\fR, \fB--config=\fR\fIconfigfile\fR
43.el \fB-f\fR \fIconfigfile\fR 45.el \fB-f\fR \fIconfigfile\fR
44Specify the configuration file to use (default is 46Specify the configuration file to use (default is
45\fI@sysconfdir@/dudki.conf\fR). 47\fI@sysconfdir@/dudki.conf\fR).
46.TP 48.TP
47.ie \*[longopt] \fB-k\fR, \fB--kill\fR 49.ie \*[longopt] \fB-k\fR, \fB--kill\fR
48.el \fB-k\fR 50.el \fB-k\fR
49Stop the running instance by sending the \fBSIGTERM\fR signal. If no process 51Stop the running instance by sending the \fBSIGTERM\fR signal. If no process
50name specified on the command line, dudki kills his own running instance. 52name specified on the command line, dudki kills his own running instance.
51.TP 53.TP
52.ie \*[longopt] \fB-r\fR, \fB--reload\fR 54.ie \*[longopt] \fB-r\fR, \fB--reload\fR
53.el \fB-r\fR 55.el \fB-r\fR
54Reload the running instance by sending the \fBSIGHUP\fR signal. Like with 56Reload the running instance by sending the \fBSIGHUP\fR signal. Like with
55\fB-k\fR, if no process name specified on the command line, dudki sends 57\fB-k\fR, if no process name specified on the command line, dudki sends
56\fBSIGHUP\fR to his own running instance. 58\fBSIGHUP\fR to his own running instance.
57.TP 59.TP
60.ie \*[longopt] \fB-s\fR \fIsignum\fR, \fB--signal=\fR\fIsignum\fR
61.el \fB-s\fR \fIsignum\fR
62Send arbitrary signal to the names processes (or self, but it doesn't make much
63sense).
64.TP
58.ie \*[longopt] \fB-c\fR, \fB--check\fR 65.ie \*[longopt] \fB-c\fR, \fB--check\fR
59.el \fB-c\fR 66.el \fB-c\fR
60Check if dudki is running. Exit with non-zero status if not. The same target 67Check if dudki is running. Exit with non-zero status if not. The same target
61rules as in \fB-k\fR and \fB-r\fR apply here. 68rules as in \fB-k\fR and \fB-r\fR apply here.
62.TP 69.TP
63.ie \*[longopt] \fB-e\fR, \fB--ensure\fR 70.ie \*[longopt] \fB-e\fR, \fB--ensure\fR
64.el \fB-e\fR 71.el \fB-e\fR
65Ensure that dudki is running. Load, if not. Useful for running as a 72Ensure that dudki is running. Load, if not. Useful for running as a
66cron job once in a while. If the daemon is running runs quietly 73cron job once in a while. If the daemon is running runs quietly
67providing no output. 74providing no output.
68.TP 75.TP
69.ie \*[longopt] \fB-t\fR, \fB--test\fR 76.ie \*[longopt] \fB-t\fR, \fB--test\fR
70.el \fB-t\fR 77.el \fB-t\fR
71Check the syntax of configuration file and exit. 78Check the syntax of configuration file and exit.
72.TP 79.TP
73.ie \*[longopt] \fB-h\fR, \fB--help\fR, \fB--usage\fR 80.ie \*[longopt] \fB-h\fR, \fB--help\fR, \fB--usage\fR
74.el \fB-h\fR 81.el \fB-h\fR
75Display short usage message and exit. 82Display short usage message and exit.
76.TP 83.TP
77.ie \*[longopt] \fB-V\fR, \fB--version\fR 84.ie \*[longopt] \fB-V\fR, \fB--version\fR
78.el \fB-V\fR 85.el \fB-V\fR
79Report version and exit. 86Report version and exit.
80.TP 87.TP
81.ie \*[longopt] \fB-L\fR, \fB--license\fR 88.ie \*[longopt] \fB-L\fR, \fB--license\fR
82.el \fB-L\fR 89.el \fB-L\fR
83Show licensing terms. 90Show licensing terms.
84 91
85.SH EXIT STATUS 92.SH EXIT STATUS
86 93
87Zero in case of success, non-zero otherwise. 94Zero in case of success, non-zero otherwise.
88 95
89.SH FILES 96.SH FILES
90.TP 97.TP
91@sysconfdir@/dudki.conf 98@sysconfdir@/dudki.conf
92Default configuration file. 99Default configuration file.
93.TP 100.TP
94/var/run/dudki.pid 101/var/run/dudki.pid
95Default pid-file for the dudki process. 102Default pid-file for the dudki process.
96 103
97.SH AUTHOR 104.SH AUTHOR
98 105
99Written by Michael 'hacker' Krelin <hacker@klever.net> 106Written by Michael 'hacker' Krelin <hacker@klever.net>
100 107
101.SH COPYRIGHT 108.SH COPYRIGHT
102 109
103Copyright (c) 2004 Klever Group (http://www.klever.net/) 110Copyright (c) 2004 Klever Group (http://www.klever.net/)
104 111
105Permission is hereby granted, free of charge, to any person obtaining a copy of 112Permission is hereby granted, free of charge, to any person obtaining a copy of
106this software and associated documentation files (the "Software"), to deal in 113this software and associated documentation files (the "Software"), to deal in
107the Software without restriction, including without limitation the rights to 114the Software without restriction, including without limitation the rights to
108use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies 115use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
109of the Software, and to permit persons to whom the Software is furnished to do 116of the Software, and to permit persons to whom the Software is furnished to do
110so, subject to the following conditions: 117so, subject to the following conditions:
111 118
112The above copyright notice and this permission notice shall be included in all 119The above copyright notice and this permission notice shall be included in all
113copies or substantial portions of the Software. 120copies or substantial portions of the Software.
114 121
115THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 122THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
116IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 123IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
117FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 124FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
118AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 125AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
119LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 126LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
120OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 127OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
121SOFTWARE. 128SOFTWARE.
122 129
123.SH BUGS 130.SH BUGS
124 131
125You tell me. Send reports to <dudki-bugs@klever.net> 132You tell me. Send reports to <dudki-bugs@klever.net>
126 133
127.SH SEE ALSO 134.SH SEE ALSO
128\fBdudki.conf\fR(5) 135\fBdudki.conf\fR(5)