summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/lighttpd/files/lighttpd.initd')
-rw-r--r--www-servers/lighttpd/files/lighttpd.initd29
1 files changed, 0 insertions, 29 deletions
diff --git a/www-servers/lighttpd/files/lighttpd.initd b/www-servers/lighttpd/files/lighttpd.initd
deleted file mode 100644
index 73018a9a5781..000000000000
--- a/www-servers/lighttpd/files/lighttpd.initd
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/lighttpd.initd,v 1.2 2004/09/28 02:01:03 swegener Exp $
-
-PID_FILE="/var/run/lighttpd.pid"
-LIGHTTPD_BIN="/usr/sbin/lighttpd"
-LIGHTTPD_CONF="/etc/conf.d/lighttpd.conf"
-
-depend() {
- need net
- use mysql logger
- after sshd
-}
-
-start() {
- ebegin "Starting lighttpd"
- ${LIGHTTPD_BIN} -u lighttpd -f ${LIGHTTPD_CONF}
- RET=$?
- pidof lighttpd >${PID_FILE}
- eend ${RET}
-}
-
-stop() {
- ebegin "Stopping lighttpd"
- kill `cat ${PID_FILE}`
- RET=$?
- eend ${RET}
-}