▸ quoted from Lars Ebeling
On Fri, May 27, 2005 at 06:00:12PM +0200, lars ebeling wrote:
If my (and probably all others) server goes down and is rebooted, the hobbit doesn't start since the pidfile exists. Why not remove the the pidfile in the restart case in starthobbit.sh? Then in the init.d file I could have "starthobbit.sh -restart"
I've changed the script to actually check if the process exists, and
remove the stale PID file if it doesn't. So a "hobbit.sh start" will now
start Hobbit if at all possible.
Henrik