blob: 8563d44ea412c6245a599707eeccf70b88011cca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
use dns net
}
start() {
ebegin "Starting ultimate-ircd"
start-stop-daemon --start --quiet --exec /usr/bin/ultimate-ircd \
--chuid ${ULTIMATEIRCD_USER} &>/dev/null
eend $?
}
stop() {
ebegin "Shutting down ultimate-ircd"
killall ultimate-ircd
eend $?
}
|