You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
450 B
23 lines
450 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2004 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
opts="depend start stop"
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting Blitzed Open Proxy Monitor"
|
|
start-stop-daemon --start --quiet --chuid ${BOPM_UID} --exec /usr/bin/bopm
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping Blitzed Open Proxy Monitor"
|
|
kill $(</var/run/bopm/bopm.pid)
|
|
eend $?
|
|
rm -f /var/run/bopm/bopm.pid
|
|
}
|