diff options
author | Sam Dodrill <shadow.h511@gmail.com> | 2013-09-02 01:11:41 -0700 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-09-02 08:17:24 +0000 |
commit | e972f7f35baa2e461d874d7fdf3ac907d94ab903 (patch) | |
tree | 2600f9a3cc3e0d376838fd9d0fe8dddbd13a0e7e /testing/shadowircd/shadowircd.initd | |
parent | 97366cf813b35d6ff65c477d8ecd90022060f8fc (diff) | |
download | aports-e972f7f35baa2e461d874d7fdf3ac907d94ab903.tar.bz2 aports-e972f7f35baa2e461d874d7fdf3ac907d94ab903.tar.xz |
testing/shadowircd: new aport
Scalable IRC daemon with many useful features
http://www.github.com/shadowircd/shadowircd
Diffstat (limited to 'testing/shadowircd/shadowircd.initd')
-rw-r--r-- | testing/shadowircd/shadowircd.initd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/shadowircd/shadowircd.initd b/testing/shadowircd/shadowircd.initd new file mode 100644 index 000000000..c9abc7fd8 --- /dev/null +++ b/testing/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 $? +} + |