diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-07-17 19:52:39 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-07-17 19:52:39 -0300 |
commit | acdbb84c92dc8962194e0a4d65fbe8afc6bace7c (patch) | |
tree | aad35466e3e7332a74bdcef93ddc17f7b057096b /libre/parabolaweb-utils/parabolaweb.rc | |
parent | ea2c8211a376cb8e6dfc6359dc7c29b0ec408c2a (diff) | |
parent | 8d96e40155e6b47de074ccb1eb10e051b71c6752 (diff) |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/parabolaweb-utils/parabolaweb.rc')
-rw-r--r-- | libre/parabolaweb-utils/parabolaweb.rc | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb.rc b/libre/parabolaweb-utils/parabolaweb.rc deleted file mode 100644 index 5e310b01d..000000000 --- a/libre/parabolaweb-utils/parabolaweb.rc +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PIDFILE=/run/web/parabolaweb.pid - -case $1 in -start) - stat_busy "Starting ParabolaWeb" - install -dm777 ${PIDFILE%/*} - if parabolaweb-fcgi pidfile=${PIDFILE}; then - add_daemon parabolaweb - stat_done - exit 0 - else - stat_fail - exit 1 - fi - ;; - -stop) - stat_busy "Stopping ParabolaWeb" - if [[ -f ${PIDFILE} ]]; then - pid=$(cat ${PIDFILE}) - kill ${pid} - rm_daemon parabolaweb - stat_done - else - stat_fail - exit 1 - fi - ;; - -restart) - $0 stop - $0 start - ;; - -*) - echo "Usage: $0 {start|stop|restart}" >&2 - exit 1 - -esac |