diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-01-06 10:08:36 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-01-06 11:20:01 +0100 |
commit | add547fa35db581a4d0b78da4b2f6e7b754158e8 (patch) | |
tree | e943dd836fd3c0499598a23759db88c0b1b9ae77 /www-servers/boa | |
parent | sci-biology/bcftools: Update contact for mmokrejs (diff) | |
download | gentoo-add547fa35db581a4d0b78da4b2f6e7b754158e8.tar.gz gentoo-add547fa35db581a4d0b78da4b2f6e7b754158e8.tar.bz2 gentoo-add547fa35db581a4d0b78da4b2f6e7b754158e8.zip |
www-servers/boa: remove unused file
Closes: https://github.com/gentoo/gentoo/pull/6767
Diffstat (limited to 'www-servers/boa')
-rw-r--r-- | www-servers/boa/files/boa.rc6 | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/www-servers/boa/files/boa.rc6 b/www-servers/boa/files/boa.rc6 deleted file mode 100644 index 506abfbe697c..000000000000 --- a/www-servers/boa/files/boa.rc6 +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# NB: Standard config is in /etc/boa/boa.conf -# NB: Arguments to pass to boa are in /etc/conf.d/boa - -depend() { - need net -} - -checkconfig() { - if [ -e /etc/conf.d/boa ] && [ -n "${BOA_OPTS}" ]; then - SR=`echo ${BOA_OPTS} | awk '{ FS = " " } { print $2 }'` - else - SR=/etc/boa - fi - - if [ ! -e ${SR}/boa.conf ] ; then - eerror "You need a ${SR}/boa.conf to run Boa" - eerror "There is a sample file in /usr/share/docs/boa" - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting Boa" - start-stop-daemon --quiet --start --exec /usr/sbin/boa -- ${BOA_OPTS} - eend $? -} - -stop() { - ebegin "Stopping Boa" - start-stop-daemon --quiet --stop --name boa --exec /usr/sbin/boa - eend $? -} |