1 |
commit: add547fa35db581a4d0b78da4b2f6e7b754158e8 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jan 6 09:08:36 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 10:20:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add547fa |
7 |
|
8 |
www-servers/boa: remove unused file |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/6767 |
11 |
|
12 |
www-servers/boa/files/boa.rc6 | 37 ------------------------------------- |
13 |
1 file changed, 37 deletions(-) |
14 |
|
15 |
diff --git a/www-servers/boa/files/boa.rc6 b/www-servers/boa/files/boa.rc6 |
16 |
deleted file mode 100644 |
17 |
index 506abfbe697..00000000000 |
18 |
--- a/www-servers/boa/files/boa.rc6 |
19 |
+++ /dev/null |
20 |
@@ -1,37 +0,0 @@ |
21 |
-#!/sbin/openrc-run |
22 |
-# Copyright 1999-2004 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-# NB: Standard config is in /etc/boa/boa.conf |
26 |
-# NB: Arguments to pass to boa are in /etc/conf.d/boa |
27 |
- |
28 |
-depend() { |
29 |
- need net |
30 |
-} |
31 |
- |
32 |
-checkconfig() { |
33 |
- if [ -e /etc/conf.d/boa ] && [ -n "${BOA_OPTS}" ]; then |
34 |
- SR=`echo ${BOA_OPTS} | awk '{ FS = " " } { print $2 }'` |
35 |
- else |
36 |
- SR=/etc/boa |
37 |
- fi |
38 |
- |
39 |
- if [ ! -e ${SR}/boa.conf ] ; then |
40 |
- eerror "You need a ${SR}/boa.conf to run Boa" |
41 |
- eerror "There is a sample file in /usr/share/docs/boa" |
42 |
- return 1 |
43 |
- fi |
44 |
-} |
45 |
- |
46 |
-start() { |
47 |
- checkconfig || return 1 |
48 |
- ebegin "Starting Boa" |
49 |
- start-stop-daemon --quiet --start --exec /usr/sbin/boa -- ${BOA_OPTS} |
50 |
- eend $? |
51 |
-} |
52 |
- |
53 |
-stop() { |
54 |
- ebegin "Stopping Boa" |
55 |
- start-stop-daemon --quiet --stop --name boa --exec /usr/sbin/boa |
56 |
- eend $? |
57 |
-} |