Comment 2 for bug 79870

Revision history for this message
Brian Sutherland (jinty) wrote :

On Fri, Mar 25, 2005 at 02:48:35PM +0000, dman13 wrote:
> I would call this a bug. Leaving the pidfile prevents schoolbell from starting
> again. One of the three (debian) systems I installed schoolbell on has a
> problem with "dying" every night. It might be related to logrotate, but every
> morning I must delete the pidfile before the init script will do anything.

I can confirm that the schoolbell server sometimes does not restart but
in my case it is a race condition in the initscript where the previous
server has not exited before start-stop-daemon tries to start it again.

Would you mind testing the attached patch for /etc/init.d/schoolbell to
see if it solves your problem as well?