gearman-job-server-monitor 299 B

12345678910
  1. description "Notify root about gearman job server respawn limit reached"
  2. author "Goran Miskovic <goran.v.miskovic@gmail.com>"
  3. task
  4. start on stopped gearman-job-server PROCESS=respawn
  5. script
  6. echo "Gearman Job Server reached respawn limit" | mail -s "Gearman Job Server Crashed" root
  7. end script