blob: 3ef635659150f6671c8a5e026debe80bf3f745fd (
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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/unrealircd/files/unrealircd.rc,v 1.2 2003/02/14 23:01:01 vapier Exp $
depend() {
need net
use dns
}
start() {
ebegin "Starting unrealircd"
start-stop-daemon --start --quiet --exec /usr/bin/unrealircd \
--chuid ${UNREALIRCD_USER} -- ${UNREALIRCD_OPTS}
eend $?
}
stop() {
ebegin "Shutting down unrealircd"
killall unrealircd
eend $?
}
|