diff options
author | ncopa <ncopa@f176ef85-8d20-0410-844a-e957b5a1c371> | 2008-05-22 19:43:09 +0000 |
---|---|---|
committer | ncopa <ncopa@f176ef85-8d20-0410-844a-e957b5a1c371> | 2008-05-22 19:43:09 +0000 |
commit | 74438da51838276eaaeb1ccb5f85958d80479849 (patch) | |
tree | 55d6de197f28a7f1e7539c12f275392986f4d4c5 /init.d | |
parent | 4ea2f44bd0e60a9579e209fb3e10ef426e5a69e5 (diff) | |
download | alpine-baselayout-74438da51838276eaaeb1ccb5f85958d80479849.tar.bz2 alpine-baselayout-74438da51838276eaaeb1ccb5f85958d80479849.tar.xz |
release 1.8.1. added httpd init.d script
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/Makefile | 1 | ||||
-rwxr-xr-x | init.d/httpd | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/init.d/Makefile b/init.d/Makefile index 78385a4..e07212b 100644 --- a/init.d/Makefile +++ b/init.d/Makefile @@ -6,6 +6,7 @@ SCRIPTS = alpinecfg.sh \ cron \ dnsd \ hostname \ + httpd \ hwclock \ hwdrivers \ inetd \ diff --git a/init.d/httpd b/init.d/httpd new file mode 100755 index 0000000..dd1de9c --- /dev/null +++ b/init.d/httpd @@ -0,0 +1,15 @@ +#!/sbin/runscript + +DAEMON=httpd +start() { + ebegin "Starting $DAEMON" + $DAEMON $HTTPD_OPTS + eend $? +} + +stop () { + ebegin "Stopping $DAEMON" + killall $DAEMON + eend $? +} + |