Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/supervisor/files/
Date: Sun, 01 Mar 2020 20:39:25
Message-Id: 1583095151.d70f1b7ddbe472027df53461c84a7a970c3ba0cb.sbraz@gentoo
1 commit: d70f1b7ddbe472027df53461c84a7a970c3ba0cb
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 1 20:31:47 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 20:39:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70f1b7d
7
8 app-admin/supervisor: remove unused files
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 app-admin/supervisor/files/conf.d | 4 ----
14 app-admin/supervisor/files/init.d | 27 ---------------------------
15 app-admin/supervisor/files/init.d-r1 | 12 ------------
16 3 files changed, 43 deletions(-)
17
18 diff --git a/app-admin/supervisor/files/conf.d b/app-admin/supervisor/files/conf.d
19 deleted file mode 100644
20 index 922f4ce4132..00000000000
21 --- a/app-admin/supervisor/files/conf.d
22 +++ /dev/null
23 @@ -1,4 +0,0 @@
24 -# /etc/conf.d/supervisord
25 -
26 -# Options to pass to the supervisord process
27 -SUPD_OPTS=""
28
29 diff --git a/app-admin/supervisor/files/init.d b/app-admin/supervisor/files/init.d
30 deleted file mode 100644
31 index bf8d00c9517..00000000000
32 --- a/app-admin/supervisor/files/init.d
33 +++ /dev/null
34 @@ -1,27 +0,0 @@
35 -#!/sbin/openrc-run
36 -# Copyright 1999-2010 Gentoo Foundation
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -checkconfig() {
40 - if [ ! -f /etc/supervisord.conf ] ; then
41 - eerror "Please create /etc/supervisord.conf:"
42 - eerror "echo_supervisord_conf >> /etc/supervisord.conf"
43 - return 1
44 - fi
45 - return 0
46 -}
47 -
48 -start() {
49 - checkconfig || return $?
50 - ebegin "Starting supervisord"
51 - start-stop-daemon --start \
52 - --exec /usr/bin/supervisord -b --pidfile /var/run/supervisord.pid \
53 - -- -n ${SUPD_OPTS}
54 - eend $?
55 -}
56 -
57 -stop() {
58 - ebegin "Stopping supervisord"
59 - start-stop-daemon --stop --pidfile /var/run/supervisord.pid
60 - eend $?
61 -}
62
63 diff --git a/app-admin/supervisor/files/init.d-r1 b/app-admin/supervisor/files/init.d-r1
64 deleted file mode 100644
65 index f22f49d5494..00000000000
66 --- a/app-admin/supervisor/files/init.d-r1
67 +++ /dev/null
68 @@ -1,12 +0,0 @@
69 -#!/sbin/openrc-run
70 -# Copyright 1999-2013 Gentoo Foundation
71 -# Distributed under the terms of the GNU General Public License v2
72 -
73 -description="client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems"
74 -
75 -command="/usr/bin/supervisord"
76 -pidfile="/var/run/supervisord.pid"
77 -command_args="--nodaemon --pidfile ${pidfile} ${SUPD_OPTS}"
78 -command_background="yes"
79 -
80 -required_files="/etc/supervisord.conf"