[Adium-devl] Notice any random things that are missing with the hosting?
Colin Barrett
timber at lava.net
Fri Nov 10 13:17:34 UTC 2006
On Nov 9, 2006, at 5:36 PM, Christopher Forsythe wrote:
> I just wanted to make sure that there isn't anything that's been
> missed in transitioning to the new hardware. Here's what I have left
> on my list to fix:
>
> svn.growl.info pointing to svn01.23i.net
> chatkit.net trac (I think we've been using svn01.23i.net for the url
> for svn the entire time, someone correct me if I'm wrong)
Joshua lock mentioned that libgaim svn was not up.
> That's the last bit on my checklist for dns and hosts. There may be
> random sporadic downtimes while issues are fixed.
>
> One thing I need is a script that does the following that can be run
> in a cronjob:
>
> Check if the apache2 process is running
> Check if the lighttpd process is running
>
> If apache2 is not running, attempt a restart.
>
> If lighttpd is not running, attempt a restart. Also, check for python
> processes running trac.fcgi, and if it is insert some action here.
>
> If there are failures in starting notify via email.
well,
if(`apachectl start` == 0) will attempt to restart apache if it's not
running and return true if it wasn't up.
to mail someone, use the mail command.
I'll try and write a perl script later.
-Colin
More information about the devel
mailing list