From f8420e0dc23431e9124a60f496aab7fe7877e89d Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Thu, 14 Jul 2005 21:14:25 +0000 Subject: Fixed so initscript starts thttpd with the right path --- packages/thttpd/files/init | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/thttpd/files') diff --git a/packages/thttpd/files/init b/packages/thttpd/files/init index fdcd0f4530..df6d64842c 100644 --- a/packages/thttpd/files/init +++ b/packages/thttpd/files/init @@ -13,7 +13,7 @@ test -x "$thttpd" || exit 0 case "$1" in start) echo -n "Starting thttpd" - start-stop-daemon --start --quiet --exec $thttpd + start-stop-daemon --start --quiet --exec $thttpd -- -d @@SRVDIR echo "." ;; stop) @@ -22,11 +22,11 @@ case "$1" in echo "." ;; reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec $thttpd + start-stop-daemon --stop --quiet --signal 1 --exec $thttpd ;; restart) echo -n "Stopping thttpd" - start-stop-daemon --stop --quiet --exec $thttpd + start-stop-daemon --stop --quiet --exec $thttpd -- -d @@SRVDIR echo "." echo -n "Waiting for thttpd to die off" for i in 1 2 3 ; @@ -36,7 +36,7 @@ case "$1" in done echo "" echo -n "Starting thttpd" - start-stop-daemon --start --quiet --exec $thttpd + start-stop-daemon --start --quiet --exec $thttpd -- -d @@SRVDIR echo "." ;; *) -- cgit v1.2.3