restartd8
Process checker and/or reloader
Overview
Restartd is a daemon for checking running and not running processes. It reads the /proc directory every n seconds and does a POSIX regexp on the process names. You can execute a script or a program if the process is or is not running.
For executing, restard uses system(3).
For logging, restartd using syslog with LOG_INFO and LOG_ERR facilities.
Options
restartd follows the GNU command line syntax.
-
-h, --help -
Displays a little help.
-
-v, --version -
Show the version number and quit.
-
-d, --debug -
Add very limited debugging.
-
-i --interval -
The process check interval in seconds. The default is 20.
-
-c --config -
Use a different configuration file instead of /etc/restartd.conf.
-
-f --foreground -
Run restartd in foreground without detaching from the controlling terminal.
Releases
10 releases since Debian 3.1 (Sarge); the text changed 1 time.
--foreground since Debian 4.0 (Etch);
-f since Debian 4.0 (Etch).