Skip to content

Commit

Permalink
Remove unnecessary GEM_HOME/GEM_PATH settings
Browse files Browse the repository at this point in the history
Remove environment variables that prevent zero-downtime-restart
feature of Fluentd v1.18.0. This is because an upgrade with a Ruby
version update will not work correctly due to environment variables
for the old Ruby.

Signed-off-by: Shizuo Fujita <[email protected]>
Signed-off-by: Daijiro Fukuda <[email protected]>
  • Loading branch information
Watson1978 authored and kenhys committed Dec 5, 2024
1 parent 3d9fc9c commit c8419c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fluent-package/templates/etc/systemd/fluentd.service.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ Group=<%= Shellwords.shellescape(service_name) %>
<% end %>
LimitNOFILE=65536
Environment=LD_PRELOAD=<%= install_path %>/lib/libjemalloc.so
Environment=GEM_HOME=<%= gem_install_path %>/
Environment=GEM_PATH=<%= gem_install_path %>/
Environment=FLUENT_CONF=/etc/<%= package_dir %>/<%= service_name %>.conf
Environment=FLUENT_PLUGIN=/etc/<%= package_dir %>/plugin
Environment=FLUENT_SOCKET=/var/run/<%= package_dir %>/<%= service_name %>.sock
Expand Down

0 comments on commit c8419c4

Please sign in to comment.