[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
restart command for monit?
From: |
Adam Beguelin |
Subject: |
restart command for monit? |
Date: |
Wed, 16 Mar 2011 05:51:42 -0700 |
Monit supports commands like:
start program = "/etc/init.d/crazyd start"
But it doesn't support:
restart program = "/etc/init.d/crazyd restart"
I have a daemon that expects a restart command so it can gracefully shut down
the running process, then start a new one. Restarting via start/stop doesn't
do the right thing since it starts a new daemon while the old one is still
running.
Any suggestions on how to get around this?
Regards,
Adam
- restart command for monit?,
Adam Beguelin <=