diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-09-17 22:03:09 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-09-17 22:03:09 (GMT) |
commit | cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39 (patch) | |
tree | bab1d712a30d6fc5e220698341c0cd4b3b3e94fa /abs/core/lighttpd/lighttpd.rc.d | |
parent | 0bde051b0b1f70333f75a50f1214dca0d27b75da (diff) | |
download | linhes_pkgbuild-cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39.zip linhes_pkgbuild-cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39.tar.gz linhes_pkgbuild-cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39.tar.bz2 |
lighttpd: update to 1.4.37
Diffstat (limited to 'abs/core/lighttpd/lighttpd.rc.d')
-rw-r--r-- | abs/core/lighttpd/lighttpd.rc.d | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/abs/core/lighttpd/lighttpd.rc.d b/abs/core/lighttpd/lighttpd.rc.d deleted file mode 100644 index 97c315f..0000000 --- a/abs/core/lighttpd/lighttpd.rc.d +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -# general config -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -o %PPID /usr/sbin/lighttpd` - -case "$1" in - start) - stat_busy "Starting lighttpd Daemon" - [ -z "$PID" ] && /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf 2>&1 - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon lighttpd - stat_done - fi - ;; - stop) - stat_busy "Stopping lighttpd Daemon" - [ ! -z "$PID" ] && kill $PID &>/dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon lighttpd - rm -f /var/run/lighttpd/lighttpd.pid - stat_done - fi - ;; - restart) - $0 stop - sleep 1 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac |