blob: de6d959b9f7416899688bbe70da442110100c408 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/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
}
|