blob: 08b3c6abaefd2e984c26ad2e8c7ba46d34467345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/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/unrealircd/files/unrealircd.rc,v 1.5 2004/07/24 20:24:31 swegener Exp $
depend() {
need net
use dns
}
start() {
ebegin "Starting unrealircd"
start-stop-daemon --start --quiet --exec /usr/bin/unrealircd \
--chuid ${UNREALIRCD_USER} -- ${UNREALIRCD_OPTS} &>/dev/null
eend $?
}
stop() {
ebegin "Shutting down unrealircd"
killall unrealircd
eend $?
}
|