diff options
Diffstat (limited to 'non-free/vlmcsd/vlmcsd.initd')
-rw-r--r-- | non-free/vlmcsd/vlmcsd.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/non-free/vlmcsd/vlmcsd.initd b/non-free/vlmcsd/vlmcsd.initd new file mode 100644 index 0000000000..ff524bd74f --- /dev/null +++ b/non-free/vlmcsd/vlmcsd.initd @@ -0,0 +1,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%/*} +} |