diff options
author | Sven Wegener <swegener@gentoo.org> | 2004-07-10 22:24:03 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2004-07-10 22:24:03 +0000 |
commit | b11d4d1fa22df849f7b1afa5fea067348ea93d30 (patch) | |
tree | e751ef2822ea902abf78b51e433e38c7dc60041f /net-irc/ptlink-ircd/files | |
parent | Marked stable on x86 (Manifest recommit) (diff) | |
download | gentoo-2-b11d4d1fa22df849f7b1afa5fea067348ea93d30.tar.gz gentoo-2-b11d4d1fa22df849f7b1afa5fea067348ea93d30.tar.bz2 gentoo-2-b11d4d1fa22df849f7b1afa5fea067348ea93d30.zip |
Renamed from net-irc/ptlink
Diffstat (limited to 'net-irc/ptlink-ircd/files')
-rw-r--r-- | net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 | 1 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/files/ptlink-ircd.conf.d | 6 | ||||
-rw-r--r-- | net-irc/ptlink-ircd/files/ptlink-ircd.init.d | 23 |
3 files changed, 30 insertions, 0 deletions
diff --git a/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 new file mode 100644 index 000000000000..77139d773e2c --- /dev/null +++ b/net-irc/ptlink-ircd/files/digest-ptlink-ircd-6.18.1 @@ -0,0 +1 @@ +MD5 7323bfb03f8d808ca12a729d1fa012ac PTlink6.18.1.tar.gz 774417 diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d b/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d new file mode 100644 index 000000000000..f1903262f11d --- /dev/null +++ b/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d @@ -0,0 +1,6 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/files/ptlink-ircd.conf.d,v 1.1 2004/07/10 22:24:03 swegener Exp $ + +# User to run ptlink-ircd as +PTLINKIRCD_USER="ptlink-ircd" diff --git a/net-irc/ptlink-ircd/files/ptlink-ircd.init.d b/net-irc/ptlink-ircd/files/ptlink-ircd.init.d new file mode 100644 index 000000000000..e656b18d0e67 --- /dev/null +++ b/net-irc/ptlink-ircd/files/ptlink-ircd.init.d @@ -0,0 +1,23 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ptlink-ircd/files/ptlink-ircd.init.d,v 1.1 2004/07/10 22:24:03 swegener Exp $ + +depend() { + need net + use dns +} + +start() { + ebegin "Starting ptlink-ircd" + start-stop-daemon --start --quiet --exec /usr/bin/ptlink-ircd \ + --chuid ${PTLINKIRCD_USER} -- -l /var/lib/ptlink-ircd \ + -e /etc/ptlink-ircd >/dev/null + eend $? +} + +stop() { + ebegin "Shutting down ptlink-ircd" + start-stop-daemon --stop --pidfile /var/lib/ptlink-ircd/ircd.pid + eend $? +} |