After the fix, the restart action shows some odd behavior:

$ sudo /etc/init.d/mldonkey-server restart
Stopping MLDonkey: mlnetNo process in pidfile `/var/run/mldonkey/mlnet.pid' 
found running; none killed.
.
Starting MLDonkey: mlnet.
$ pidof mlnet
5248
$ sudo /etc/init.d/mldonkey-server restart
Stopping MLDonkey: mlnet.
$ pidof mlnet
$

These two types of behavior alternate if you keep trying to restart.

Expected behavior: the restart action restarts the daemon (without complaints) 
if it's running; complains but starts a new daemon if it's not running.


-- 
Alexey Feldgendler <[EMAIL PROTECTED]>
[ICQ: 115226275] http://feldgendler.livejournal.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to