summaryrefslogtreecommitdiff
path: root/package/lighttpd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/lighttpd/files')
-rw-r--r--package/lighttpd/files/lighttpd.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/lighttpd/files/lighttpd.init b/package/lighttpd/files/lighttpd.init
index 37b543fd2..cb0a117d9 100644
--- a/package/lighttpd/files/lighttpd.init
+++ b/package/lighttpd/files/lighttpd.init
@@ -11,10 +11,10 @@ autostart)
exec sh $0 start
;;
start)
- lighttpd $lighttpd_flags
+ /usr/sbin/lighttpd $lighttpd_flags
;;
stop)
- pkill lighttpd
+ kill $(pgrep -f /usr/sbin/lighttpd)
;;
restart)
sh $0 stop