blob: c832fd0ea0773f17395618cabbc1efaeb8e61976 (
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.4 2004/07/24 00:17:37 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} &>&1
eend $?
}
stop() {
ebegin "Shutting down unrealircd"
killall unrealircd
eend $?
}
|