aboutsummaryrefslogtreecommitdiffstats
path: root/testing/td-agent-bit/td-agent-bit.initd
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-02-23 15:21:29 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-02-26 20:03:56 +0000
commit1d0358126ae631c3dc579271cd9376e07bb1a4d6 (patch)
treeef561ab1bfdc2dbab531aac8a8105ba0c548b213 /testing/td-agent-bit/td-agent-bit.initd
parent751a1f21b10a1c2bf1c1d9537a553ed67cf510f8 (diff)
downloadaports-1d0358126ae631c3dc579271cd9376e07bb1a4d6.tar.bz2
aports-1d0358126ae631c3dc579271cd9376e07bb1a4d6.tar.xz
testing/td-agent-bit: new aport
Fluent Bit is an open source and multi-platform Log Forwarder which allows you to collect data/logs from different sources, unify and send them to multiple destinations. Fluent Bit is written in C, has a pluggable architecture supporting around 20 extensions. It's fast and lightweight and provides the required security for network operations through TLS. http://fluentbit.io/
Diffstat (limited to 'testing/td-agent-bit/td-agent-bit.initd')
-rw-r--r--testing/td-agent-bit/td-agent-bit.initd14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/td-agent-bit/td-agent-bit.initd b/testing/td-agent-bit/td-agent-bit.initd
new file mode 100644
index 0000000000..6a84c19ddf
--- /dev/null
+++ b/testing/td-agent-bit/td-agent-bit.initd
@@ -0,0 +1,14 @@
+#!/sbin/openrc-run
+supervisor=supervise-daemon
+
+description="Fast and Lightweight Log/Data Forwarder [fluent-bit]"
+
+nice=19
+pidfile="/run/$SVCNAME.sd.pid"
+supervise_daemon_args="-p $pidfile -N $nice"
+command=/usr/bin/td-agent-bit
+command_args=${TD_OPTS}
+
+depends() {
+ use net
+}