summaryrefslogtreecommitdiffstats
path: root/unmaintained/shadowircd/shadowircd.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-03 10:41:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-03 10:41:37 +0000
commitf8fca444a81516116a29279b09a401f9482c806e (patch)
treec4d5c369983116459c0ce572b9b442d39917c067 /unmaintained/shadowircd/shadowircd.initd
parentcd796398d0d21f805a296900cc1f67f3e991ff9c (diff)
downloadaports-f8fca444a81516116a29279b09a401f9482c806e.tar.bz2
aports-f8fca444a81516116a29279b09a401f9482c806e.tar.xz
testing/shadowircd: moved to unmaintained
Diffstat (limited to 'unmaintained/shadowircd/shadowircd.initd')
-rw-r--r--unmaintained/shadowircd/shadowircd.initd22
1 files changed, 22 insertions, 0 deletions
diff --git a/unmaintained/shadowircd/shadowircd.initd b/unmaintained/shadowircd/shadowircd.initd
new file mode 100644
index 000000000..c9abc7fd8
--- /dev/null
+++ b/unmaintained/shadowircd/shadowircd.initd
@@ -0,0 +1,22 @@
+#!/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/charybdis/files/charybdis-ircd.initd,v 1.2 2008/01/08 21:17:02 jokey Exp $
+
+depend() {
+ use net
+ provide ircd
+}
+
+start() {
+ ebegin "Starting shadowircd"
+ start-stop-daemon --start --quiet -u ${SHADOWIRCD_USER} --exec /usr/bin/ircd -- -configfile ${SHADOWIRCD_CONF}>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping shadowircd"
+ start-stop-daemon --stop --quiet --pidfile ${SHADOWIRCD_PID}
+ eend $?
+}
+