blob: 8de0dc468d841d1c2e5751450c4d3f4d74196527 (
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-2002 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.1 2003/02/01 04:47:09 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 $?
}
|