Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/glance/files: glance.initd
Date: Tue, 02 Jul 2013 15:33:39
Message-Id: 20130702153335.04E302171C@flycatcher.gentoo.org
1 prometheanfire 13/07/02 15:33:34
2
3 Modified: glance.initd
4 Log:
5 glance's init script now works (among other things in bug 475462)
6
7 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
8
9 Revision Changes Path
10 1.2 app-admin/glance/files/glance.initd
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/glance/files/glance.initd?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/glance/files/glance.initd?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/glance/files/glance.initd?r1=1.1&r2=1.2
15
16 Index: glance.initd
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance.initd,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- glance.initd 20 Jan 2013 06:39:20 -0000 1.1
23 +++ glance.initd 2 Jul 2013 15:33:34 -0000 1.2
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 # Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance.initd,v 1.1 2013/01/20 06:39:20 prometheanfire Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/files/glance.initd,v 1.2 2013/07/02 15:33:34 prometheanfire Exp $
30
31 depend() {
32 need net
33 @@ -30,7 +30,7 @@
34 ebegin "Starting ${SVCNAME}"
35
36 start-stop-daemon --start --quiet --pidfile "${PID_PATH}/${SVCENAME}.pid" \
37 - --exec /usr/bin/glance-control -- ${SERVERNAME} start
38 + --exec /usr/bin/glance-control ${SERVERNAME} start /etc/glance/glance-${SERVERNAME}.conf
39
40 eend $? "Failed to start ${SVCNAME}"
41 }
42 @@ -42,7 +42,7 @@
43 ebegin "Stopping ${SVCNAME}"
44
45 start-stop-daemon --stop --quiet --pidfile "${PID_PATH}/${SVCNAME}.pid" \
46 - --exec /usr/bin/glance-control -- ${SERVERNAME} stop
47 + --exec /usr/bin/glance-control ${SERVERNAME} stop /etc/glance/glance-${SERVERNAME}.conf
48 eend $? "Failed to stop ${SVCNAME}"
49 }