blob: 6822cd69eee74668bdc0602877be792bddb62fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need net
use dns
provide ircd
}
start() {
ebegin "Starting ptlink-ircd"
start-stop-daemon --start --quiet --exec /usr/bin/ptlink-ircd \
--chuid ${PTLINKIRCD_USER} -- -l /var/lib/ptlink-ircd \
-e /etc/ptlink-ircd >/dev/null
eend $?
}
stop() {
ebegin "Shutting down ptlink-ircd"
start-stop-daemon --stop --pidfile /var/lib/ptlink-ircd/ircd.pid
eend $?
}
|