Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 562032 | Differences between
and this patch

Collapse All | Expand All

(-)bopm (-2 / +9 lines)
Lines 3-12 Link Here
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
# $Id$
4
# $Id$
5
5
6
PIDFILE=/var/run/bopm/bopm.pid
7
6
opts="depend start stop"
8
opts="depend start stop"
7
9
8
depend() {
10
depend() {
9
	need net
11
	need net
12
	use ircd
13
}
14
15
start_pre() {
16
	checkpath -o ${BOPM_UID} -d "$(dirname $PIDFILE)"
10
}
17
}
11
18
12
start() {
19
start() {
Lines 17-23 Link Here
17
24
18
stop() {
25
stop() {
19
	ebegin "Stopping Blitzed Open Proxy Monitor"
26
	ebegin "Stopping Blitzed Open Proxy Monitor"
20
	kill $(</var/run/bopm/bopm.pid)
27
	kill $(<$PIDFILE)
21
	eend $?
28
	eend $?
22
	rm -f /var/run/bopm/bopm.pid
29
	rm -f $PIDFILE
23
}
30
}

Return to bug 562032