summaryrefslogtreecommitdiff
path: root/package/lighttpd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-30 22:57:30 +0100
commit0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch)
tree8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/lighttpd
parent845317b460ee99ad633534cad4de72404af7e30b (diff)
fix startup scripts, fix stop routine
Diffstat (limited to 'package/lighttpd')
-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