summaryrefslogtreecommitdiffstats
path: root/testing/cherokee/cherokee.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cherokee/cherokee.initd')
-rwxr-xr-xtesting/cherokee/cherokee.initd41
1 files changed, 0 insertions, 41 deletions
diff --git a/testing/cherokee/cherokee.initd b/testing/cherokee/cherokee.initd
deleted file mode 100755
index 6aed337b..00000000
--- a/testing/cherokee/cherokee.initd
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/sbin/runscript
-
-# Cherokee init.d file for alpine linux.
-
-NAME=cherokee
-DAEMON=/usr/sbin/$NAME
-DAEMON_USER=${DAEMON_USER:-root}
-DAEMON_GROUP=${DAEMON_GROUP:-root}
-
-depend() {
- need net
-}
-
-start() {
- ebegin "Starting ${NAME}"
- start-stop-daemon --start --quiet \
- --pidfile /var/run/${NAME}.pid \
- --chuid ${DAEMON_USER}:${DAEMON_GROUP} \
- --exec ${DAEMON} -- ${OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${NAME}"
- start-stop-daemon --stop --quiet \
- --exec ${DAEMON} \
- --pidfile /var/run/${NAME}.pid
- eend $?
-}
-
-reload() {
- ebegin "Reloading ${NAME}"
- if ! service_started "${NAME}" ; then
- eend 1 "${NAME} is not started"
- return 1
- fi
- start-stop-daemon --stop --oknodo --signal HUP \
- --exec ${DAEMON} --pidfile /var/run/${NAME}.pid
- eend $?
-}
-