1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/testing/fluent-bit/fluent-bit.initd
Leonardo Arena 46c8216853 testing/fluent-bit: improve
- do not use conf.d file (specify defaults in init script)
- leave usage of supervisor as optional
2023-07-20 06:16:39 +00:00

14 lines
253 B
Bash

#!/sbin/openrc-run
: ${cfgfile:="/etc/fluent-bit/fluent-bit.conf"}
name=fluent-bit
command="/usr/bin/fluent-bit"
command_args="-c $cfgfile $fluentbit_opts"
command_background="yes"
pidfile="/run/fluent-bit.pid"
depend() {
need net
after firewall
}