mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-10 08:17:06 +02:00
Fix fluentd launch option
This commit is contained in:
parent
5063a68160
commit
6498ad34ff
@ -53,12 +53,16 @@ class Fluentd
|
|||||||
end
|
end
|
||||||
|
|
||||||
def validate_fluentd_options
|
def validate_fluentd_options
|
||||||
system("bundle exec fluentd --dry-run #{options_to_argv}")
|
Bundler.with_clean_env do
|
||||||
|
system("fluentd --dry-run #{options_to_argv}")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def actual_start
|
def actual_start
|
||||||
return unless validate_fluentd_options
|
return unless validate_fluentd_options
|
||||||
spawn("bundle exec fluentd #{options_to_argv}")
|
Bundler.with_clean_env do
|
||||||
|
spawn("fluentd #{options_to_argv}")
|
||||||
|
end
|
||||||
wait_starting
|
wait_starting
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user