[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 

Any suggestions on how to get around this?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]