diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-09-29 20:13:27 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-09-29 20:13:27 +0000 |
commit | a7df4924f40e47569a4b58dcd8b4189cf7819a44 (patch) | |
tree | 43f3f3466c2f928793ea9d7e3a0f6197260fd619 /www-servers/shttpd/files/shttpd.initd | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-a7df4924f40e47569a4b58dcd8b4189cf7819a44.tar.gz gentoo-2-a7df4924f40e47569a4b58dcd8b4189cf7819a44.tar.bz2 gentoo-2-a7df4924f40e47569a4b58dcd8b4189cf7819a44.zip |
www-servers/shttpd removal (pending 2009-09-30) see bug 248484 for reference
Diffstat (limited to 'www-servers/shttpd/files/shttpd.initd')
-rw-r--r-- | www-servers/shttpd/files/shttpd.initd | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/www-servers/shttpd/files/shttpd.initd b/www-servers/shttpd/files/shttpd.initd deleted file mode 100644 index 8fc1f0e00cd4..000000000000 --- a/www-servers/shttpd/files/shttpd.initd +++ /dev/null @@ -1,35 +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/shttpd/files/shttpd.initd,v 1.1 2005/06/06 14:17:42 ka0ttic Exp $ - -depend() { - need net -} - -start() { - local opts - ebegin "Starting shttpd" - - [[ -n "${SHTTPD_PORT}" ]] && opts="${opts} -p ${SHTTPD_PORT}" - [[ -n "${SHTTPD_USER}" ]] && opts="${opts} -u ${SHTTPD_USER}" - [[ -n "${SHTTPD_DOCROOT}" ]] && opts="${opts} -d ${SHTTPD_DOCROOT}" - [[ -n "${SHTTPD_LOG}" ]] && opts="${opts} -l ${SHTTPD_LOG}" - [[ -n "${SHTTPD_ERROR}" ]] && opts="${opts} -e ${SHTTPD_ERROR}" - [[ -n "${SHTTPD_INDECIS}" ]] && opts="${opts} -i ${SHTTPD_INDECIS}" - [[ -n "${SHTTPD_CGIEXT}" ]] && opts="${opts} -c ${SHTTPD_CGIEXT}" - [[ -n "${SHTTPD_DOMAIN}" ]] && opts="${opts} -N ${SHTTPD_DOMAIN}" - [[ -n "${SHTTPD_MIME}" ]] && opts="${opts} -m ${SHTTPD_MIME}" - [[ -n "${SHTTPD_EXTRAOPTS}" ]] && opts="${opts} ${SHTTPD_EXTRAOPTS}" - - start-stop-daemon --background --make-pidfile --start --quiet \ - --pidfile /var/run/shttpd.pid --startas /usr/sbin/shttpd -- \ - ${opts} - eend $? -} - -stop() { - ebegin "Stopping shttpd" - start-stop-daemon --stop --quiet --pidfile /var/run/shttpd.pid - eend $? -} |