Hi,

The syslog-ng start script doesn't stop syslog-ng because it tries to use pid's instead of the executable name. Very simple patch attached.

(apologies: tabs are mangled, I'm on a webmail system and can't seem to fix it, there are only 2 though :-))

Lee.

Signed-off-by: Lee Essen <lee.es...@nowonline.co.uk>


Index: admin/syslog-ng/files/syslog-ng.init
===================================================================
--- admin/syslog-ng/files/syslog-ng.init        (revision 29908)
+++ admin/syslog-ng/files/syslog-ng.init        (working copy)
@@ -3,8 +3,6 @@

 START=50

-SERVICE_USE_PID=1
-
 start() {
        [ -f /etc/syslog-ng.conf ] || return 1
        service_start /usr/sbin/syslog-ng

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to