aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/vlmcsd/vlmcsd.initd
blob: ff524bd74f82504bc0131638d27db5d703463a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run

command=/usr/bin/vlmcsd
pidfile=/run/vlmcsd/vlmcsd.pid
command_args="-l syslog -p ${pidfile}"
name=vlmcsd
start_stop_daemon_args="--user vlmcsd --group vlmcsd"

depend() {
	need networking
}

start_pre() {
	checkpath -d -o vlmcsd:vlmcsd -m 0775 ${pidfile%/*}
}