summaryrefslogtreecommitdiff
path: root/packages/thttpd
diff options
context:
space:
mode:
Diffstat (limited to 'packages/thttpd')
-rw-r--r--packages/thttpd/files/init4
-rw-r--r--packages/thttpd/thttpd_2.25b.bb3
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/thttpd/files/init b/packages/thttpd/files/init
index 4e227d9f13..fdcd0f4530 100644
--- a/packages/thttpd/files/init
+++ b/packages/thttpd/files/init
@@ -18,7 +18,7 @@ case "$1" in
;;
stop)
echo -n "Stopping thttpd"
- start-stop-daemon --stop --quiet $thttpd
+ start-stop-daemon --stop --quiet --exec $thttpd
echo "."
;;
reload|force-reload)
@@ -26,7 +26,7 @@ case "$1" in
;;
restart)
echo -n "Stopping thttpd"
- start-stop-daemon --stop --quiet $thttpd
+ start-stop-daemon --stop --quiet --exec $thttpd
echo "."
echo -n "Waiting for thttpd to die off"
for i in 1 2 3 ;
diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb
index 280b2dee7e..e7b786c1b0 100644
--- a/packages/thttpd/thttpd_2.25b.bb
+++ b/packages/thttpd/thttpd_2.25b.bb
@@ -2,12 +2,15 @@ DESCRIPTION = "A simple, small, portable, fast, and secure HTTP server."
LICENSE = "BSD"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
HOMEPAGE = "http://www.acme.com/software/thttpd/"
+PR="r1"
SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \
file://install.patch;patch=1 \
file://acinclude.m4 \
file://init"
S = "${WORKDIR}/thttpd-${PV}"
+INITSCRIPT_NAME = "thttpd"
+INITSCRIPT_PARAMS = "defaults"
inherit autotools