| 1 | #!/sbin/openrc-run |
| 2 | |
| 3 | : ${cfgfile:="/etc/fluent-bit/fluent-bit.conf"} |
| 4 | |
| 5 | name=fluent-bit |
| 6 | command="/usr/bin/fluent-bit" |
| 7 | command_args="-c $cfgfile $fluentbit_opts" |
| 8 | command_background="yes" |
| 9 | pidfile="/run/fluent-bit.pid" |
| 10 | |
| 11 | depend() { |
| 12 | need net |
| 13 | after firewall |
| 14 | } |