author | Michael Krelin <hacker@klever.net> | 2004-07-24 00:24:07 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-24 00:24:07 (UTC) |
commit | fbc32792b8d8266ff90aa60403f5da78739236f4 (patch) (unidiff) | |
tree | 77bc3f196a3733c9c86290f8a73d60bb609bbdd5 /man | |
parent | 125671c860a82643d36bc3da279d0b831fae4b34 (diff) | |
download | dudki-fbc32792b8d8266ff90aa60403f5da78739236f4.zip dudki-fbc32792b8d8266ff90aa60403f5da78739236f4.tar.gz dudki-fbc32792b8d8266ff90aa60403f5da78739236f4.tar.bz2 |
processes specified by process names (pidof-like).
-rw-r--r-- | man/dudki.conf.5.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man/dudki.conf.5.in b/man/dudki.conf.5.in index 23f636d..7d365d3 100644 --- a/man/dudki.conf.5.in +++ b/man/dudki.conf.5.in | |||
@@ -1,25 +1,25 @@ | |||
1 | .TH dudki.conf 5 "July 9th, 2004" "dudki.conf(5)" "Klever Group (http://www.klever.net/)" | 1 | .TH dudki.conf 5 "July 24th, 2004" "dudki.conf(5)" "Klever Group (http://www.klever.net/)" |
2 | .hla en | 2 | .hla en |
3 | 3 | ||
4 | .SH NAME | 4 | .SH NAME |
5 | 5 | ||
6 | dudki.conf \- The configuration file for the dudki process | 6 | dudki.conf \- The configuration file for the dudki process |
7 | monitoring daemon | 7 | monitoring daemon |
8 | 8 | ||
9 | .SH SYNOPSIS | 9 | .SH SYNOPSIS |
10 | 10 | ||
11 | The dudki.conf file is a runtime configuration file for the dudki | 11 | The dudki.conf file is a runtime configuration file for the dudki |
12 | process monitoring daemon. It contains the information about the process | 12 | process monitoring daemon. It contains the information about the process |
13 | being monitored and the instruction on how to cope with the processes. | 13 | being monitored and the instruction on how to cope with the processes. |
14 | 14 | ||
15 | .SH FILE FORMAT | 15 | .SH FILE FORMAT |
16 | 16 | ||
17 | The file consist of the global configuration and per-process | 17 | The file consist of the global configuration and per-process |
18 | configuration sections. The global configuration controls general | 18 | configuration sections. The global configuration controls general |
19 | dudki behaviour and sets defaults for per-process configuration | 19 | dudki behaviour and sets defaults for per-process configuration |
20 | directives. | 20 | directives. |
21 | 21 | ||
22 | .SH GLOBAL CONFIGURATION | 22 | .SH GLOBAL CONFIGURATION |
23 | 23 | ||
24 | .TP | 24 | .TP |
25 | \fBCheckInterval\fR \fIseconds\fR | 25 | \fBCheckInterval\fR \fIseconds\fR |
@@ -39,48 +39,52 @@ Specifies where to store dudki's process id (default is | |||
39 | Sets global defaults for process section's MailtoHeader directive. See | 39 | Sets global defaults for process section's MailtoHeader directive. See |
40 | below. | 40 | below. |
41 | .TP | 41 | .TP |
42 | \fBNotify\fR \fIschema\fR:\fItarget\fR | 42 | \fBNotify\fR \fIschema\fR:\fItarget\fR |
43 | Sets global default for per process notification. See below. | 43 | Sets global default for per process notification. See below. |
44 | 44 | ||
45 | .TP | 45 | .TP |
46 | \fB<Process\fR \fIidentifier\fR\fB>\fR | 46 | \fB<Process\fR \fIidentifier\fR\fB>\fR |
47 | Starts per process configuration section. The process will be referenced | 47 | Starts per process configuration section. The process will be referenced |
48 | using the short descriptive name specified (for example in email | 48 | using the short descriptive name specified (for example in email |
49 | notifications). | 49 | notifications). |
50 | 50 | ||
51 | .SH PER-PROCESS CONFIGURATION | 51 | .SH PER-PROCESS CONFIGURATION |
52 | 52 | ||
53 | Per-process configuration sections specifies the processes to monitor. | 53 | Per-process configuration sections specifies the processes to monitor. |
54 | And parameters pertaining to the process. | 54 | And parameters pertaining to the process. |
55 | 55 | ||
56 | .TP | 56 | .TP |
57 | \fBPidFile\fR \fIfilename\fR | 57 | \fBPidFile\fR \fIfilename\fR |
58 | Specifies the file where to fetch process id of the process being | 58 | Specifies the file where to fetch process id of the process being |
59 | monitored from. The absence of file, as well as the absence of process | 59 | monitored from. The absence of file, as well as the absence of process |
60 | specified by the pid stored in the file signifies the process death and | 60 | specified by the pid stored in the file signifies the process death and |
61 | triggers restart. | 61 | triggers restart. |
62 | .TP | 62 | .TP |
63 | \fBProcessName\fR \fIprocess name\fR | ||
64 | Specifies the name of the process. The alternative way to find process if it | ||
65 | doesn't keep pid in the file. Similar to \fBpidof\fR(1). | ||
66 | .TP | ||
63 | \fBRestartCommand\fR \fIcommand\fR | 67 | \fBRestartCommand\fR \fIcommand\fR |
64 | Specifies the command to run in order to restart the process. | 68 | Specifies the command to run in order to restart the process. |
65 | .TP | 69 | .TP |
66 | \fBUser\fR \fIuser\fR | 70 | \fBUser\fR \fIuser\fR |
67 | Specifies the unix user to change to before executing the command | 71 | Specifies the unix user to change to before executing the command |
68 | specified by \fBRestartCommand\fR. | 72 | specified by \fBRestartCommand\fR. |
69 | .TP | 73 | .TP |
70 | \fBGroup\fR \fIgroup\fR | 74 | \fBGroup\fR \fIgroup\fR |
71 | Specifies the unix group to change to before executing the command | 75 | Specifies the unix group to change to before executing the command |
72 | specified by \fBRestartCommand\fR. | 76 | specified by \fBRestartCommand\fR. |
73 | .TP | 77 | .TP |
74 | \fBChroot\fR \fIpath\fR | 78 | \fBChroot\fR \fIpath\fR |
75 | Specifies the directory to set filesystem root to before executing the | 79 | Specifies the directory to set filesystem root to before executing the |
76 | command specified by by \fBRestartCommand\fR. | 80 | command specified by by \fBRestartCommand\fR. |
77 | .TP | 81 | .TP |
78 | \fBMailtoHeader\fR \fIheader\fR \fIcontent\fR | 82 | \fBMailtoHeader\fR \fIheader\fR \fIcontent\fR |
79 | Specifies extra headers to add to mailto: notifications sent by the | 83 | Specifies extra headers to add to mailto: notifications sent by the |
80 | dudki daemon. Headers specified in per-process section override the | 84 | dudki daemon. Headers specified in per-process section override the |
81 | ones specified globally.A | 85 | ones specified globally.A |
82 | .TP | 86 | .TP |
83 | \fBNotify\fR \fIschema\fR:\fItarget\fR | 87 | \fBNotify\fR \fIschema\fR:\fItarget\fR |
84 | Specifies the contact to be notified whenever something notable happens | 88 | Specifies the contact to be notified whenever something notable happens |
85 | to the process. The only schema currently supported is 'mailto:'. | 89 | to the process. The only schema currently supported is 'mailto:'. |
86 | .TP | 90 | .TP |