parthpatangia / supervisor-daemon

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%