aboutsummaryrefslogtreecommitdiffstats
path: root/community/captagent/captagent.initd
diff options
context:
space:
mode:
Diffstat (limited to 'community/captagent/captagent.initd')
-rw-r--r--community/captagent/captagent.initd13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/captagent/captagent.initd b/community/captagent/captagent.initd
new file mode 100644
index 0000000000..4d5d8b9eb7
--- /dev/null
+++ b/community/captagent/captagent.initd
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+
+# init.d file for captagent
+# Copyright (c) 2017 Kaarle Ritvanen
+
+name=captagent
+command=/usr/bin/$name
+command_args=-d
+pidfile=/var/run/$name.pid
+
+depend() {
+ need net
+}