diff options
author | Chuck Short <zul@gentoo.org> | 2003-10-27 17:42:25 +0000 |
---|---|---|
committer | Chuck Short <zul@gentoo.org> | 2003-10-27 17:42:25 +0000 |
commit | 7b68fe9b2a7db8eb28593d23baa366cf5e3223c8 (patch) | |
tree | c6d7e3ce1a59f2a6bc079e1bc9efc079f1a9f1b8 /net-irc/ultimate/files | |
parent | adding metadata (diff) | |
download | historical-7b68fe9b2a7db8eb28593d23baa366cf5e3223c8.tar.gz historical-7b68fe9b2a7db8eb28593d23baa366cf5e3223c8.tar.bz2 historical-7b68fe9b2a7db8eb28593d23baa366cf5e3223c8.zip |
Updated init scripts, closes bug #31958.
Diffstat (limited to 'net-irc/ultimate/files')
-rw-r--r-- | net-irc/ultimate/files/ultimateircd.conf | 2 | ||||
-rw-r--r-- | net-irc/ultimate/files/ultimateircd.rc | 22 |
2 files changed, 20 insertions, 4 deletions
diff --git a/net-irc/ultimate/files/ultimateircd.conf b/net-irc/ultimate/files/ultimateircd.conf index 7c610df832f1..62213049ef0f 100644 --- a/net-irc/ultimate/files/ultimateircd.conf +++ b/net-irc/ultimate/files/ultimateircd.conf @@ -3,4 +3,4 @@ # $Header # user to run ptlinkircd as -PTLINKIRCD_USER="nobody" +ULTIMATEIRCD_USER="nobody" diff --git a/net-irc/ultimate/files/ultimateircd.rc b/net-irc/ultimate/files/ultimateircd.rc index 7c610df832f1..c0a10d255eca 100644 --- a/net-irc/ultimate/files/ultimateircd.rc +++ b/net-irc/ultimate/files/ultimateircd.rc @@ -1,6 +1,22 @@ +#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header +# $Header: /var/cvsroot/gentoo-x86/net-irc/ultimate/files/ultimateircd.rc,v 1.2 2003/10/27 17:41:55 zul Exp $ -# user to run ptlinkircd as -PTLINKIRCD_USER="nobody" +depend() { + need ned + use dns +} + +start() { + ebegin "Starting ultimate-ircd" + start-stop-daemon --start --quiet --exec /usr/bin/ultimate-ircd \ + --chuid ${ULTIMATEIRCD_USER} + eend $? +} + +stop() { + ebegin "Shutting down ultimate-ircd" + killall ultimate-ircd + eend $? +} |