* [gentoo-commits] gentoo-x86 commit in net-irc/shadowircd/files: shadowircd.initd shadowircd.confd
@ 2012-03-03 6:48 Jeff Horelick (jdhore)
0 siblings, 0 replies; only message in thread
From: Jeff Horelick (jdhore) @ 2012-03-03 6:48 UTC (permalink / raw
To: gentoo-commits
jdhore 12/03/03 06:48:53
Added: shadowircd.initd shadowircd.confd
Log:
Add net-irc/shadowircd-6.3.2.1, an IRCd based on charybdis, but adds several useful features.
(Portage version: 2.2.0_alpha89/cvs/Linux i686)
Revision Changes Path
1.1 net-irc/shadowircd/files/shadowircd.initd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/shadowircd/files/shadowircd.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/shadowircd/files/shadowircd.initd?rev=1.1&content-type=text/plain
Index: shadowircd.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
extra_started_commands="reload"
depend() {
use dns net
provide ircd
}
start() {
if ! [ -d /var/run/shadowircd ]; then
ebegin "Creating /var/run/shadowircd for ${SVCNAME}"
mkdir /var/run/shadowircd \
&& chown :shadowircd /var/run/shadowircd \
&& chmod 770 /var/run/shadowircd
eend $?
fi
ebegin "Starting ${SVCNAME}"
start-stop-daemon --start --exec /usr/bin/shadowircd-ircd \
--user shadowircd --pidfile /var/run/shadowircd/ircd.pid \
${CHARYBDIS_OPTS}
eend $?
}
stop() {
ebegin "Stopping ${SVCNAME}"
start-stop-daemon --stop --pidfile /var/run/shadowircd/ircd.pid
eend $?
}
reload() {
ebegin "Reloading ${SVCNAME}"
start-stop-daemon --signal HUP --pidfile /var/run/shadowircd/ircd.pid
eend $?
}
1.1 net-irc/shadowircd/files/shadowircd.confd
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/shadowircd/files/shadowircd.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/shadowircd/files/shadowircd.confd?rev=1.1&content-type=text/plain
Index: shadowircd.confd
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Specify any extra options to pass to shadowircd
SHADOWIRCD_OPTS=""
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-03 6:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 6:48 [gentoo-commits] gentoo-x86 commit in net-irc/shadowircd/files: shadowircd.initd shadowircd.confd Jeff Horelick (jdhore)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox