Respawn process
andersons001 at hawaii.rr.com
andersons001 at hawaii.rr.com
Wed Jun 27 00:07:34 PDT 2001
I personally like daemontools. We use this on our OpenBSD system to monitor daemons.
Visit the web site of daemontools at http://www.pobox.com/~djb/daemontools.html
The init command is a cool tool to do simple process monitoring. Add :respawn:
entry to your /etc/inittab, if you need process to be respawned. There should
be man pages for both init and inittab.
Example /etc/inittab entry:
cs:3:respawn:/usr/local/bin/script.sh >> /tmp/script.log 2>&1
More information about the LUAU
mailing list