From 3fe927c19c9a49ee5fec05135d9bcf726d05c2cc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 10 Jun 2009 20:05:21 +0000 Subject: core/busybox-initscripts: new aport We move many scripts from alpine-baselayout to this package. --- core/busybox-initscripts/httpd.initd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 core/busybox-initscripts/httpd.initd (limited to 'core/busybox-initscripts/httpd.initd') diff --git a/core/busybox-initscripts/httpd.initd b/core/busybox-initscripts/httpd.initd new file mode 100644 index 000000000..7f114e650 --- /dev/null +++ b/core/busybox-initscripts/httpd.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript + +DAEMON=/usr/sbin/httpd + +depend() { + need net +} + +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 $? +} + -- cgit v1.2.3