Here is my /upstart assp/ work in progress:

The monitor script checks that there is a perl.*assp.pl process with
PID from the pid file running and through the stats interface that it is
healthy. The check is performed every $SLEEP seconds.
Monitor tries to (re)start ASSP $RETRY times.
Status is logged to syslog every $SLEEP * $LOGPERIOD seconds
and in case of a problem.

To terminate ASSP, the script will first initiate shutdown
via https://.../shutdown_frame?action=%20Proceed%20.
After 150s (configurable) it sends TERM and after further
60s KILL to ASSP if it is still running.

Stopping ASSP is possible with /initctl stop assp/,
/stop assp/ or "touch /etc/assp/stop".

"touch /etc/assp/restart", /initctl assp restart/ or /restart assp/
will restart assp gracefully.

source code: http://blog.ziborski.net/e-mail/upstart-assp/

Thank you in advance for review and suggestions.

best regards,
Zrin


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to