summaryrefslogtreecommitdiff
path: root/www-servers/boa/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
commita8b0d35ab742f31538d515dea39716e566d533c0 (patch)
tree40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /www-servers/boa/files
parent8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff)
gentoo resync : 06.01.2018
Diffstat (limited to 'www-servers/boa/files')
-rw-r--r--www-servers/boa/files/boa.rc637
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 $?
-}