From ad66cfb23eaec40f2a44afddc3210d5e9dcfcaa9 Mon Sep 17 00:00:00 2001 From: "Sven Schwyn (svoop)" Date: Wed, 18 Jun 2008 16:11:17 +0000 Subject: app-misc/heyu: new ebuild app-misc/heyu (bug 91396) svn path=/sunrise/; revision=6338 --- app-misc/heyu/files/2.3.2/heyu.init | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app-misc/heyu/files/2.3.2/heyu.init (limited to 'app-misc/heyu/files/2.3.2/heyu.init') diff --git a/app-misc/heyu/files/2.3.2/heyu.init b/app-misc/heyu/files/2.3.2/heyu.init new file mode 100644 index 000000000..e8ff76e0d --- /dev/null +++ b/app-misc/heyu/files/2.3.2/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 +} -- cgit v1.2.3-65-gdbad