Files @ 68b018b79377
Branch filter:

Location: ohnobinki_overlay/net-irc/unrealircd/files/unrealircd.rc

binki
app-antivirus/clamav: Bump to clamava-0.96.5.

(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, signed Manifest commit with key 6BA81050)
#!/sbin/runscript
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.rc,v 1.7 2004/10/09 20:36:31 swegener Exp $

opts="reload start stop"

depend() {
	use dns net
	provide ircd
}

start() {
	ebegin "Starting unrealircd"
	start-stop-daemon --start --quiet --exec /usr/bin/unrealircd \
		--chuid ${UNREALIRCD_USER} --pidfile /var/run/unrealircd/ircd.pid \
		-- ${UNREALIRCD_OPTS} &>/dev/null
	eend $?
}

stop() {
	ebegin "Shutting down unrealircd"
	start-stop-daemon --stop --quiet --pidfile /var/run/unrealircd/ircd.pid
	eend $?
}

reload() {
	ebegin "Re-Loading unrealircd"
	start-stop-daemon --signal HUP --quiet --pidfile /var/run/unrealircd/ircd.pid
	eend $?
}