aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/captagent/captagent.initd
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/captagent/captagent.initd')
-rw-r--r--unmaintained/captagent/captagent.initd18
1 files changed, 18 insertions, 0 deletions
diff --git a/unmaintained/captagent/captagent.initd b/unmaintained/captagent/captagent.initd
new file mode 100644
index 00000000000..0b182e6403e
--- /dev/null
+++ b/unmaintained/captagent/captagent.initd
@@ -0,0 +1,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"
+}
+