FS#19193 - [deluge] can't start deluged or deluge-web if PID file stale
Attached to Project:
Arch Linux
Opened by Jonathan Liu (net147) - Wednesday, 21 April 2010, 11:37 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 21 April 2010, 13:39 GMT
Opened by Jonathan Liu (net147) - Wednesday, 21 April 2010, 11:37 GMT
Last edited by Ionut Biru (wonder) - Wednesday, 21 April 2010, 13:39 GMT
|
Details
Description:
deluged can't start when there is a stale /var/run/deluged.pid file deluge-web can't start when there is a stale /var/run/deluge-web.pid file Additional info: * deluge 1.2.3-1 Steps to reproduce: * Start /etc/rc.d/deluged or /etc/rc.d/deluge-web and kill it with the kill command * Try to start it again: it fails because of stale PID file Solution: * Add a check to make sure PID is not stale after reading it (in both /etc/rc.d/deluged and /etc/rc.d/deluge-web): [[ -d /proc/$PID ]] || PID= |
This task depends upon
Closed by Ionut Biru (wonder)
Wednesday, 21 April 2010, 13:39 GMT
Reason for closing: Implemented
Additional comments about closing: 1.2.3-2
Wednesday, 21 April 2010, 13:39 GMT
Reason for closing: Implemented
Additional comments about closing: 1.2.3-2