On Sun, 2010-07-11 at 21:26 +0300, Yavor Nikolov wrote:
> As I've mentioned - I couldn't stop the daemon. I.e. - I tried to stop
> the daemon using "/etc/init.d/scmbug-server stop" but after that
> daemon process was still running (I checked using ps).

I understand that the daemon failed to stop in your system.

> After removing "--name scmbug_daemon" from script I was able to stop
> the same process using the above-mentioned "stop" command.

But removing "--name scmbug_daemon" does not mean that adding it back in
and trying to stop the daemon won't stop the daemon. The
start-stop-daemon manpage shows an example of using --name <somename> to
stop daemons. Thus the command issued appears correct. The reason it
fails needs to be further investigated. I am not convinced removing
"--name" fixes something; I believe it may be breaking something.

Perhaps you upgraded from an older scmbug version while a scmbug daemon
was already running and a pidfile with an incorrect pid stayed around.

> There was no problem with daemon starting in fact (maybe no need to
> change the start command).

That's what threw me off in the patch.

> /Actually - I thought looking a bit more details about start/stop
> scripts since I also got a warning during .deb installation (probably
> due to lack of "status" handling which seems to be mandatory according
> to Debian's docs)./

Thanks. This should be addressed.

http://bugzilla.mkgnu.net/show_bug.cgi?id=1481

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to