mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
* make the fluent-bit functional on target with iowrt * resolve crash with file output plugin * setup init file * setup default conf file - no logging
21 lines
330 B
Bash
21 lines
330 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=12
|
|
STOP=89
|
|
USE_PROCD=1
|
|
|
|
PROG=/usr/sbin/fluent-bit
|
|
CONF=/etc/fluent-bit/fluent-bit.conf
|
|
|
|
. /lib/functions.sh
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command $PROG -c $CONF
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|
|
|
|
service_triggers() {
|
|
procd_add_reload_trigger fluent-bit
|
|
}
|