diff options
Diffstat (limited to 'net-irc/dancer-ircd/files/dancer-ircd-1.0.35')
-rw-r--r-- | net-irc/dancer-ircd/files/dancer-ircd-1.0.35 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-irc/dancer-ircd/files/dancer-ircd-1.0.35 b/net-irc/dancer-ircd/files/dancer-ircd-1.0.35 new file mode 100644 index 000000000000..99d4642889f1 --- /dev/null +++ b/net-irc/dancer-ircd/files/dancer-ircd-1.0.35 @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/dancer-ircd/files/dancer-ircd-1.0.35,v 1.1 2005/01/23 22:07:46 swegener Exp $ + +depend() { + use net +} + +start() { + ebegin "Starting dancer-ircd" + start-stop-daemon --start --quiet --chuid ${DANCER_USER} --exec /usr/bin/dancer-ircd + eend $? +} + +stop() { + ebegin "Stopping dancer-ircd" + start-stop-daemon --stop --quiet --pidfile /var/run/dancer-ircd/dancer-ircd.pid + eend $? +} |