summaryrefslogtreecommitdiff
path: root/sysutils/fluent-bit/files/patch-conf__fluent-bit.conf
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2021-09-03 00:27:32 +0200
committerPalle Girgensohn <girgen@FreeBSD.org>2021-09-03 00:37:18 +0200
commit2b5d5148c0f32f81380555f1ade6269cd04ce716 (patch)
tree2c45b3db4a43c59496c58ad9ed83a8fcbe3f7ce7 /sysutils/fluent-bit/files/patch-conf__fluent-bit.conf
parentdevel/sdl12-compat: convert to libmap.conf(5) (diff)
sysutils/fluent-bit: fix problems running the fluent-bit
There is a known problem with the default coro_stack_size being too small. Double it to avoid failing to start. [1] Since the daemon option seems to be somewhat funky [2], use daemon to wrap the fluent-bit binary when running from the rc.d script. [1] https://github.com/fluent/fluent-bit/issues/3716 PR: 255593 [2]
Diffstat (limited to 'sysutils/fluent-bit/files/patch-conf__fluent-bit.conf')
-rw-r--r--sysutils/fluent-bit/files/patch-conf__fluent-bit.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/fluent-bit/files/patch-conf__fluent-bit.conf b/sysutils/fluent-bit/files/patch-conf__fluent-bit.conf
new file mode 100644
index 000000000000..a373dcab8cc6
--- /dev/null
+++ b/sysutils/fluent-bit/files/patch-conf__fluent-bit.conf
@@ -0,0 +1,20 @@
+--- conf/fluent-bit.conf.orig 2021-09-02 23:28:51.035454000 +0200
++++ conf/fluent-bit.conf 2021-09-02 23:38:09.521171000 +0200
+@@ -81,12 +81,13 @@
+ #
+ # storage.backlog.mem_limit 5M
+
+-[INPUT]
+- name cpu
+- tag cpu.local
++#[INPUT]
++ # fails on FreeBSD for some reason, propably not supported
++ # name cpu
++ # tag cpu.local
+
+ # Read interval (sec) Default: 1
+- interval_sec 1
++ # interval_sec 1
+
+ [OUTPUT]
+ name stdout