Set GEM_PATH in brookengine for Fluentd to detect our custom plugin.
authorStanislaw Klekot <dozzie@jarowit.net>
Wed, 10 May 2017 20:53:35 +0000 (22:53 +0200)
committerStanislaw Klekot <dozzie@jarowit.net>
Wed, 10 May 2017 20:53:35 +0000 (22:53 +0200)
bin/brookengine

index 3761ddd..c997970 100755 (executable)
@@ -60,6 +60,7 @@ if len(args) > 0:
 # execute Fluentd {{{
 
 if command is None:
+    os.environ["GEM_PATH"] = "/usr/lib/brookengine/fluentd"
     os.execv("/usr/sbin/fluentd", [
         "brook-databus",
         "--config", options.config,