Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/coherence/files: coherence-init
Date: Sun, 27 Dec 2009 05:19:12
Message-Id: E1NOlX1-0002Sg-Sq@stork.gentoo.org
1 darkside 09/12/27 05:19:07
2
3 Added: coherence-init
4 Log:
5 Initial ebuild. Many thanks to all the contributors on bug 246166. This ebuild is still in rough shape, needs to have the deps worked out and minor fixes. Funtionality works
6 (Portage version: 2.1.7.15/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 media-video/coherence/files/coherence-init
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/coherence/files/coherence-init?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/coherence/files/coherence-init?rev=1.1&content-type=text/plain
13
14 Index: coherence-init
15 ===================================================================
16 #!/sbin/runscript
17
18 depend() {
19 need net
20 after bootmisc
21 }
22
23 start() {
24 ebegin "Starting Coherence"
25 start-stop-daemon --start --exec /usr/bin/coherence \
26 --pidfile /var/run/coherence.pid \
27 --background \
28 -- -c /etc/coherence.conf
29 eend $?
30 }
31
32 stop() {
33 ebegin "Stopping Coherence"
34 start-stop-daemon --stop --exec /usr/bin/coherence \
35 --pidfile /var/run/coherence.pid
36 eend $?
37 }