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.
19 lines
435 B
19 lines
435 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
command="/usr/bin/bopm"
|
|
description="Blitzed Open Proxy Monitor"
|
|
start_stop_daemon_args="--quiet --chuid ${BOPM_UID}"
|
|
pidfile="${PIDFILE}"
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -o 0:0 -d /run/bopm
|
|
checkpath -o ${BOPM_UID} -d /run/bopm/junk
|
|
checkpath -o ${BOPM_UID} -f /run/bopm/junk/bopm.pid
|
|
}
|