diff options
author | 2009-02-15 15:16:27 +0000 | |
---|---|---|
committer | 2009-02-15 15:16:27 +0000 | |
commit | 9ddff809333f05403aa96ce9df7d93303758b142 (patch) | |
tree | f29d8adfe29f627847f276463f827d05c7b769d0 /app-misc/heyu/files/2.5.0/heyu.init | |
parent | app-office/openoffice-infra: Some additional fixes for openoffice-infra-2.4.2 (diff) | |
download | sunrise-9ddff809333f05403aa96ce9df7d93303758b142.tar.gz sunrise-9ddff809333f05403aa96ce9df7d93303758b142.tar.bz2 sunrise-9ddff809333f05403aa96ce9df7d93303758b142.zip |
app-misc/heyu: Version bump and various - including security relevant - improvements, thanks to Tommy.
svn path=/sunrise/; revision=7928
Diffstat (limited to 'app-misc/heyu/files/2.5.0/heyu.init')
-rw-r--r-- | app-misc/heyu/files/2.5.0/heyu.init | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app-misc/heyu/files/2.5.0/heyu.init b/app-misc/heyu/files/2.5.0/heyu.init new file mode 100644 index 000000000..93a66517d --- /dev/null +++ b/app-misc/heyu/files/2.5.0/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 +} |