diff options
Diffstat (limited to 'app-misc/heyu/files')
-rw-r--r-- | app-misc/heyu/files/2.4.0/heyu.init | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-misc/heyu/files/2.4.0/heyu.init b/app-misc/heyu/files/2.4.0/heyu.init new file mode 100644 index 000000000..e8ff76e0d --- /dev/null +++ b/app-misc/heyu/files/2.4.0/heyu.init @@ -0,0 +1,24 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +start() { + ebegin "Starting heyu" + mkdir /var/tmp/heyu 2>/dev/null + chmod a=rwx /var/tmp/heyu + /usr/bin/heyu start >/dev/null + eend $? +} + +stop() { + ebegin "Stopping heyu" + /usr/bin/heyu stop + eend $? +} + +restart() { + svc_stop + sleep 5 + svc_start +} |