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 | d86f9abd5028b23c95e7089ebecca8ed4f7a7ed1 (patch) | |
tree | 2813fb77a02a760df542b871cb11d55ecbecdb8b /net-irc/ultimate/files | |
parent | adding metadata (diff) | |
download | gentoo-2-d86f9abd5028b23c95e7089ebecca8ed4f7a7ed1.tar.gz gentoo-2-d86f9abd5028b23c95e7089ebecca8ed4f7a7ed1.tar.bz2 gentoo-2-d86f9abd5028b23c95e7089ebecca8ed4f7a7ed1.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 $? +} |