From 9ddff809333f05403aa96ce9df7d93303758b142 Mon Sep 17 00:00:00 2001 From: "Sven Schwyn (svoop)" Date: Sun, 15 Feb 2009 15:16:27 +0000 Subject: app-misc/heyu: Version bump and various - including security relevant - improvements, thanks to Tommy. svn path=/sunrise/; revision=7928 --- app-misc/heyu/files/2.5.0/heyu.init | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app-misc/heyu/files/2.5.0/heyu.init (limited to 'app-misc/heyu/files/2.5.0/heyu.init') 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 +} -- cgit v1.2.3-65-gdbad