Brian and I were having some problems with slashd dying
on tangent.org which also hosts antiochsucks.com (my
site). Well Brian asked if I could modified
/etc/init.d/slash to check if slashd for the different
site he runs had died. I did that plus and added a cool
features that you might want to add to the current CVS.
(I can see there might be problems with OS's that are
not Linux. I need to know the right "ps" line for the
new keepalive option.)
This will look at what sites you have and check to see
if its running. First it looks to see if a slash.pid
file was created. If not it will start slashd for that
site. If the slashd.pid is there it looks to see if
there is something called slashd running on that PID.
If not removes the bad slash.pid and start a new slashd
for that site.
This just prints out the vars that are used by slash
and past to slashd. Its just nice to see what you have.
Good want to see if you have what you expected in
I attached a patch file so you can see the changes I
made it should patch against 1.11 that is in CVS right
(in the same dir as the version of slash you want to
patch -p0 < slash-patch