From 7df1aa68d8dba958bd8583e6bb13624af1bf3987 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 26 Nov 2015 10:26:39 +0000 Subject: testing/captagent: new aport Standalone agent for HOMER, a SIP capture and monitoring system --- testing/captagent/captagent.initd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 testing/captagent/captagent.initd (limited to 'testing/captagent/captagent.initd') diff --git a/testing/captagent/captagent.initd b/testing/captagent/captagent.initd new file mode 100644 index 0000000000..0b182e6403 --- /dev/null +++ b/testing/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" +} + -- cgit v1.2.3