mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
- do not use conf.d file (specify defaults in init script) - leave usage of supervisor as optional
14 lines
253 B
Bash
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
|
|
}
|