aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vlmcsd/vlmcsd.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-01-02 15:05:45 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2017-01-02 15:05:50 +0100
commit2277b0dcd277f5f8cfecc66b709b555f3a61a4b0 (patch)
treeff29ce493f74609181f49df2ea302842aceb391a /testing/vlmcsd/vlmcsd.initd
parent8b24ae012866fd3053cba0b4aba7b71a1841d7c4 (diff)
downloadaports-2277b0dcd277f5f8cfecc66b709b555f3a61a4b0.tar.gz
aports-2277b0dcd277f5f8cfecc66b709b555f3a61a4b0.tar.bz2
aports-2277b0dcd277f5f8cfecc66b709b555f3a61a4b0.tar.xz
testing/vlmcsd: new aport
Diffstat (limited to 'testing/vlmcsd/vlmcsd.initd')
-rw-r--r--testing/vlmcsd/vlmcsd.initd15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/vlmcsd/vlmcsd.initd b/testing/vlmcsd/vlmcsd.initd
new file mode 100644
index 0000000000..ff524bd74f
--- /dev/null
+++ b/testing/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%/*}
+}