Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 17:46:47 +0000
From:      RW <list-freebsd-2004@morbius.sent.com>
To:        freebsd-questions@freebsd.org
Subject:   Cleaning-up stale PID files on reboot
Message-ID:  <200511251746.48768.list-freebsd-2004@morbius.sent.com>

next in thread | raw e-mail | index | archive | help
I start mlnet, the daemon part of mldonkey, from it's local rc.d script on 
bootup. If mlnet isn't shutdown properly, it leaves behind a pid file that 
prevents the daemon  running until I notice and manually delete the file. 

What's the best way to deal with this? I was wondering if there is some 
standard place to clean-up after an improper shutdown. 

Is mlnet doing something wrong?  I don't get the same problem with other 
daemons.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511251746.48768.list-freebsd-2004>