Skip to content

Commit

Permalink
Cleanup SERVERENGINE_SOCKETMANAGER socket files usually found in /tmp (
Browse files Browse the repository at this point in the history
…#316)

Signed-off-by: Daniel Lenar <dlenar@vailsys.com>
  • Loading branch information
danlenar authored Apr 26, 2022
1 parent 4fa3a9a commit 6efa674
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base-image/plugins/in_just_exit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def start()
# this means all input/filters are ok. User configs cannot
# define sources so it's all safe
# https://github.com/fluent/fluentd/blob/v1.2.2/lib/fluent/root_agent.rb#L171
Fluent::Supervisor.cleanup_resources
Kernel.exit!(0)
end

Expand Down

0 comments on commit 6efa674

Please sign in to comment.