summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Schwyn (svoop) <gentoo@bitcetera.com>2009-05-04 16:08:14 +0000
committerSven Schwyn (svoop) <gentoo@bitcetera.com>2009-05-04 16:08:14 +0000
commitc7ad8e716689d4b46b64922753308ef9ca63bce3 (patch)
treee158b366d40e6facaf0c36e66e91fbf73ada825c /app-misc/heyu/files/heyu.init
parentx11-drivers/xf86-video-nouveau: new snapshot, live ebuild now lives in x11 ov... (diff)
downloadsunrise-c7ad8e716689d4b46b64922753308ef9ca63bce3.tar.gz
sunrise-c7ad8e716689d4b46b64922753308ef9ca63bce3.tar.bz2
sunrise-c7ad8e716689d4b46b64922753308ef9ca63bce3.zip
Version bump to 2.6.0 (bug 91396)
svn path=/sunrise/; revision=8487
Diffstat (limited to 'app-misc/heyu/files/heyu.init')
-rw-r--r--app-misc/heyu/files/heyu.init22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/heyu/files/heyu.init b/app-misc/heyu/files/heyu.init
new file mode 100644
index 000000000..93a66517d
--- /dev/null
+++ b/app-misc/heyu/files/heyu.init
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+start() {
+ ebegin "Starting heyu"
+ start-stop-daemon --start --quiet --exec /usr/bin/heyu --chuid heyu:heyu -- start >/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping heyu"
+ start-stop-daemon --stop --quiet --exec /usr/bin/heyu
+ eend $?
+}
+
+restart() {
+ svc_stop
+ sleep 5
+ svc_start
+}