[briancline/ircplanet] 0942af: All services now write out their own PID to a file...

0 views
Skip to first unread message

nor...@github.com

unread,
Apr 3, 2011, 7:24:31 PM4/3/11
to ircpla...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/briancline/ircplanet

Commit: 0942af7e19d4ce6a5bedb222d6e50fe3da6036c3
https://github.com/briancline/ircplanet/commit/0942af7e19d4ce6a5bedb222d6e50fe3da6036c3
Author: Brian Cline <brian...@gmail.com>
Date: 2011-04-03 (Sun, 03 Apr 2011)

Changed paths:
M ChangeLog
M Channel/globals.php
M Core/service.php
M Defense/globals.php
M Nickname/globals.php
M Operator/globals.php
M Stat/globals.php
A utils/checkservices

Log Message:
-----------
All services now write out their own PID to a file in their respective directories, and there's now a script (utils/checkservices) that can be used in a cron job to automagically restart any services that previously died unexpectedly. A file called 'maint' can be created in the services root directory if services maintenance is being performed, as its presence will cause the cron job not to attempt to restart any downed services. The file can be removed once maintenance is complete, and its behavior will return to normal.


Reply all
Reply to author
Forward
0 new messages