aboutsummaryrefslogtreecommitdiffstats
path: root/testing/captagent/captagent.initd
blob: 0b182e6403ea350eba2e52498819c0eecd9398d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/sbin/openrc-run

command=/usr/bin/captagent
pidfile=/var/run/${SVCNAME}.pid
conf=/etc/captagent/${SVCNAME}.xml

#start_stop_daemon_args="--make-pidfile"

depend() {
	need net
	after firewall
}

start_pre() {
	#checkpath --directory ${pidfile%/*}
	command_args="-d -f $conf"
}