Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/cinder/files/
Date: Thu, 06 Oct 2016 18:36:06
Message-Id: 1475778887.da1ec900bf353dff675a0d460445b24e3a4e0515.prometheanfire@gentoo
1 commit: da1ec900bf353dff675a0d460445b24e3a4e0515
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 6 18:29:18 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 6 18:34:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da1ec900
7
8 sys-cluster/cinder: cleanup
9
10 Package-Manager: portage-2.3.0
11
12 sys-cluster/cinder/files/cinder-confd | 3 --
13 sys-cluster/cinder/files/cinder-init | 58 ---------------------------------
14 sys-cluster/cinder/files/cinder-sudoers | 4 ---
15 3 files changed, 65 deletions(-)
16
17 diff --git a/sys-cluster/cinder/files/cinder-confd b/sys-cluster/cinder/files/cinder-confd
18 deleted file mode 100644
19 index d09928c..00000000
20 --- a/sys-cluster/cinder/files/cinder-confd
21 +++ /dev/null
22 @@ -1,3 +0,0 @@
23 -#Don't touch this unless you know what you are doing
24 -PID_PATH=/run/cinder
25 -
26
27 diff --git a/sys-cluster/cinder/files/cinder-init b/sys-cluster/cinder/files/cinder-init
28 deleted file mode 100644
29 index 6747d12..00000000
30 --- a/sys-cluster/cinder/files/cinder-init
31 +++ /dev/null
32 @@ -1,58 +0,0 @@
33 -#!/sbin/openrc-run
34 -# Copyright 1999-2013 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -BASENAME=$(echo $SVCNAME | cut -d '-' -f 1)
38 -SERVERNAME=$(echo $SVCNAME | cut -d '-' -f 2)
39 -
40 -depend() {
41 - need net
42 -}
43 -
44 -checkconfig() {
45 - if [ ! -r /etc/conf.d/$BASENAME ]; then
46 - eerror "No cinder conf.d file found: /etc/conf.d/$BASENAME)"
47 - return 1
48 - fi
49 - return 0
50 -}
51 -
52 -start() {
53 - checkconfig || return $?
54 - . /etc/conf.d/$BASENAME
55 -
56 - ebegin "Starting ${SVCNAME}"
57 - if [ ! -d ${PID_PATH} ]; then
58 - mkdir ${PID_PATH}
59 - chown cinder:root ${PID_PATH}
60 - fi
61 -
62 - start-stop-daemon --start \
63 - --quiet \
64 - --user cinder \
65 - --pidfile "${PID_PATH}/${SVCNAME}.pid" \
66 - --make-pidfile \
67 - --background \
68 - --exec /usr/bin/cinder-${SERVERNAME} -- --config-file /etc/cinder/cinder.conf --log-file /var/log/cinder/cinder-${SERVERNAME}
69 -
70 - eend $? "Failed to start ${SVCNAME}"
71 -}
72 -
73 -stop() {
74 - checkconfig || return $?
75 - . /etc/conf.d/$BASENAME
76 -
77 - ebegin "Stopping ${SVCNAME}"
78 -
79 - start-stop-daemon --stop \
80 - --quiet \
81 - --user cinder \
82 - --pidfile "${PID_PATH}/${SVCNAME}.pid" \
83 - --exec /usr/bin/cinder-${SERVERNAME} -- --config-file /etc/cinder/cinder.conf
84 -
85 - eend $? "Failed to stop ${SVCNAME}"
86 -}
87 -
88 -#restart() {
89 -#
90 -#}
91
92 diff --git a/sys-cluster/cinder/files/cinder-sudoers b/sys-cluster/cinder/files/cinder-sudoers
93 deleted file mode 100644
94 index f44bab4..00000000
95 --- a/sys-cluster/cinder/files/cinder-sudoers
96 +++ /dev/null
97 @@ -1,4 +0,0 @@
98 -Defaults:cinder !requiretty
99 -
100 -cinder ALL = (root) NOPASSWD: /usr/bin/cinder-rootwrap
101 -