/supervisor-daemon

This tool checks that the process is running and at all times and starts it in the case it is down.

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Supervisor Daemon Script

This tool checks that the process is running and at all times and starts it in the case it is down. It takes these as parameters:

  1. Seconds to wait between attempts to restart service
  2. Number of attempts before giving up
  3. Process to supervise
  4. Check interval in seconds

Example

./supervisor.sh 1 2 "<process>" 4