summaryrefslogtreecommitdiff
path: root/community-staging/cherokee/cherokee.rc
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-11-15 14:34:01 +0000
commit28b13b7e8e6e1e4fa1593f0dfb1c37569f2f90a8 (patch)
treeb5961b2312f5afe599dba0d1b9a3b6f6e3d04091 /community-staging/cherokee/cherokee.rc
parent3d151dfc8e08b65c2c1d4b5e8081562d56ee7d41 (diff)
Tue Nov 15 14:33:58 UTC 2011
Diffstat (limited to 'community-staging/cherokee/cherokee.rc')
-rwxr-xr-xcommunity-staging/cherokee/cherokee.rc65
1 files changed, 0 insertions, 65 deletions
diff --git a/community-staging/cherokee/cherokee.rc b/community-staging/cherokee/cherokee.rc
deleted file mode 100755
index 2d413dc13..000000000
--- a/community-staging/cherokee/cherokee.rc
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-daemon_name=cherokee
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting $daemon_name daemon"
- if [ ! -f /var/run/$daemon_name.pid ] && $daemon_name -d &>/dev/null; then
- add_daemon $daemon_name
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
-
- stop)
- stat_busy "Stopping $daemon_name daemon"
- [ -f /var/run/$daemon_name.pid ] && read PID </var/run/$daemon_name.pid
- if kill $PID &>/dev/null; then
- rm_daemon $daemon_name
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
-
- reload)
- stat_busy "Reloading $daemon_name daemon"
- [ -f /var/run/$daemon_name.pid ] && read PID </var/run/$daemon_name.pid
- if kill -HUP $PID &>/dev/null; then
- add_daemon $daemon_name
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
-
- restart)
- stat_busy "Restarting $daemon_name daemon"
- [ -f /var/run/$daemon_name.pid ] && read PID </var/run/$daemon_name.pid
- if kill -USR1 $PID &>/dev/null; then
- add_daemon $daemon_name
- stat_done
- else
- stat_fail
- exit 1
- fi
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
- ;;
-
- *)
- echo "usage: $0 {start|stop|reload|restart|status}"
-esac
-
-exit 0