aboutsummaryrefslogtreecommitdiffstats
path: root/testing/td-agent-bit/td-agent-bit.initd
blob: 6a84c19ddfea2ffac85755cb0cd5e54ee287e472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}