Hi,

I encountered following issue with scmbug 0.26.17 on Ubuntu 9.10 (32-bit):
/etc/init.d/scmbug-server script didn't work as expected:

1) stop doesn't stop the integration daemon. Nor is the pidfile deleted.
2) restart doesn't restart the daemon

I'm attaching a patch which seems to help to resolve above issues in my
environment. (Maybe could be fixed in better way - I just tried some stuff
until it worked).

I don't know if that issue affects other platforms.

Regards,
Yavor
--- /etc/init.d/scmbug-server.orig-0.26.17	2010-03-08 17:43:27.000000000 +0200
+++ /etc/init.d/scmbug-server	2010-04-03 23:35:56.000000000 +0300
@@ -17,7 +17,7 @@
 	;;
     stop)
 	echo -n "Stopping SCM to bug-tracking integration daemon:"
-	echo -n " scmbug_daemon" ; start-stop-daemon --stop --name scmbug_daemon --quiet --oknodo --pidfile ${PID_FILE}
+	echo -n " scmbug_daemon" ; start-stop-daemon --stop --quiet --pidfile ${PID_FILE} --signal 1 && rm ${PID_FILE}
 	echo "."
 	;;
     restart|force-reload)
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to