summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-12-27 05:19:07 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-12-27 05:19:07 +0000
commita53bc733dbbcd840d78cf58281e620b7a0a0bc4d (patch)
tree1442875177a09788a2590080cab9218ddb01c127 /media-video/coherence/files
parentAdd note about having to restart the session; causes crashing sometimes; bug ... (diff)
downloadgentoo-2-a53bc733dbbcd840d78cf58281e620b7a0a0bc4d.tar.gz
gentoo-2-a53bc733dbbcd840d78cf58281e620b7a0a0bc4d.tar.bz2
gentoo-2-a53bc733dbbcd840d78cf58281e620b7a0a0bc4d.zip
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
(Portage version: 2.1.7.15/cvs/Linux x86_64)
Diffstat (limited to 'media-video/coherence/files')
-rw-r--r--media-video/coherence/files/coherence-init23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-video/coherence/files/coherence-init b/media-video/coherence/files/coherence-init
new file mode 100644
index 000000000000..6e71e8f77f6d
--- /dev/null
+++ b/media-video/coherence/files/coherence-init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+
+depend() {
+ need net
+ after bootmisc
+}
+
+start() {
+ ebegin "Starting Coherence"
+ start-stop-daemon --start --exec /usr/bin/coherence \
+ --pidfile /var/run/coherence.pid \
+ --background \
+ -- -c /etc/coherence.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Coherence"
+ start-stop-daemon --stop --exec /usr/bin/coherence \
+ --pidfile /var/run/coherence.pid
+ eend $?
+}
+