diff options
Diffstat (limited to 'main/busybox-initscripts/httpd.initd')
-rw-r--r-- | main/busybox-initscripts/httpd.initd | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/main/busybox-initscripts/httpd.initd b/main/busybox-initscripts/httpd.initd index be23a6b3a7..091207e47b 100644 --- a/main/busybox-initscripts/httpd.initd +++ b/main/busybox-initscripts/httpd.initd @@ -1,21 +1,13 @@ #!/sbin/runscript -DAEMON=/usr/sbin/httpd +name="busybox $SVCNAME" +command="/usr/sbin/$SVCNAME" +command_args="$HTTPD_OPTS" +pidfile="/var/run/$SVCNAME.pid" + depend() { need net localmount after firewall } -start() { - ebegin "Starting busybox httpd" - start-stop-daemon --start --exec $DAEMON -- $HTTPD_OPTS - eend $? -} - -stop () { - ebegin "Stopping busybox httpd" - start-stop-daemon --stop --exec $DAEMON - eend $? -} - |