Commit aa9bd662 authored by Ophélie Gagnard's avatar Ophélie Gagnard

src/main.{pyx,cpp}: Change the default location of the fluentbit plugin.

- From /etc/fluentbit_wendelin.so to /lib/libfluentbit_wendelin.so
parent b2c15f44
......@@ -6970,7 +6970,7 @@ int main(int __pyx_v_argc, char **__pyx_v_argv) {
* cdef public int main(int argc, char* argv[]) nogil:
* cdef char* path_to_scan = "/" # <<<<<<<<<<<<<<
* cdef char* fb_exec_path = "/sbin/fluent-bit"
* cdef char* fb_lib_path = "/etc/fluentbit_wendelin.so"
* cdef char* fb_lib_path = "/lib/libfluentbit_wendelin.so"
*/
__pyx_v_path_to_scan = ((char *)"/");
......@@ -6978,7 +6978,7 @@ int main(int __pyx_v_argc, char **__pyx_v_argv) {
* cdef public int main(int argc, char* argv[]) nogil:
* cdef char* path_to_scan = "/"
* cdef char* fb_exec_path = "/sbin/fluent-bit" # <<<<<<<<<<<<<<
* cdef char* fb_lib_path = "/etc/fluentbit_wendelin.so"
* cdef char* fb_lib_path = "/lib/libfluentbit_wendelin.so"
* cdef char* fb_conf_path = "/etc/flb.conf"
*/
__pyx_v_fb_exec_path = ((char *)"/sbin/fluent-bit");
......@@ -6986,15 +6986,15 @@ int main(int __pyx_v_argc, char **__pyx_v_argv) {
/* "main.pyx":368
* cdef char* path_to_scan = "/"
* cdef char* fb_exec_path = "/sbin/fluent-bit"
* cdef char* fb_lib_path = "/etc/fluentbit_wendelin.so" # <<<<<<<<<<<<<<
* cdef char* fb_lib_path = "/lib/libfluentbit_wendelin.so" # <<<<<<<<<<<<<<
* cdef char* fb_conf_path = "/etc/flb.conf"
* cdef char* log_path = "/var/log/metadata_collect.log"
*/
__pyx_v_fb_lib_path = ((char *)"/etc/fluentbit_wendelin.so");
__pyx_v_fb_lib_path = ((char *)"/lib/libfluentbit_wendelin.so");
/* "main.pyx":369
* cdef char* fb_exec_path = "/sbin/fluent-bit"
* cdef char* fb_lib_path = "/etc/fluentbit_wendelin.so"
* cdef char* fb_lib_path = "/lib/libfluentbit_wendelin.so"
* cdef char* fb_conf_path = "/etc/flb.conf" # <<<<<<<<<<<<<<
* cdef char* log_path = "/var/log/metadata_collect.log"
* if argc >= 2:
......@@ -7002,7 +7002,7 @@ int main(int __pyx_v_argc, char **__pyx_v_argv) {
__pyx_v_fb_conf_path = ((char *)"/etc/flb.conf");
/* "main.pyx":370
* cdef char* fb_lib_path = "/etc/fluentbit_wendelin.so"
* cdef char* fb_lib_path = "/lib/libfluentbit_wendelin.so"
* cdef char* fb_conf_path = "/etc/flb.conf"
* cdef char* log_path = "/var/log/metadata_collect.log" # <<<<<<<<<<<<<<
* if argc >= 2:
......
......@@ -365,7 +365,7 @@ cdef int start(const char *path_to_scan, const char *fb_exec_path, const char *f
cdef public int main(int argc, char* argv[]) nogil:
cdef char* path_to_scan = "/"
cdef char* fb_exec_path = "/sbin/fluent-bit"
cdef char* fb_lib_path = "/etc/fluentbit_wendelin.so"
cdef char* fb_lib_path = "/lib/libfluentbit_wendelin.so"
cdef char* fb_conf_path = "/etc/flb.conf"
cdef char* log_path = "/var/log/metadata_collect.log"
if argc >= 2:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment