diff options
| author | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-11-26 10:26:39 +0000 |
|---|---|---|
| committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-11-26 10:28:19 +0000 |
| commit | 7df1aa68d8dba958bd8583e6bb13624af1bf3987 (patch) | |
| tree | 478be3374d6efa8cd247f54bca4510d8cc471b18 /testing/captagent/captagent.initd | |
| parent | 06cdd3d4079ce9c1812f7b8e3c32e1e9ea58f001 (diff) | |
| download | aports-7df1aa68d8dba958bd8583e6bb13624af1bf3987.tar.bz2 aports-7df1aa68d8dba958bd8583e6bb13624af1bf3987.tar.xz | |
testing/captagent: new aport
Standalone agent for HOMER, a SIP capture and monitoring system
Diffstat (limited to 'testing/captagent/captagent.initd')
| -rw-r--r-- | testing/captagent/captagent.initd | 18 |
1 files changed, 18 insertions, 0 deletions
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" +} + |
