mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-12 17:27:09 +02:00
Fix to find correct fluent-gem path
This commit is contained in:
parent
da75b8e245
commit
dd8fded3a1
@ -13,17 +13,23 @@ class Fluentd
|
|||||||
end
|
end
|
||||||
|
|
||||||
def start
|
def start
|
||||||
system('/etc/init.d/td-agent start')
|
Bundler.with_clean_env do
|
||||||
|
system('/etc/init.d/td-agent start')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def stop
|
def stop
|
||||||
system('/etc/init.d/td-agent stop')
|
Bundler.with_clean_env do
|
||||||
|
system('/etc/init.d/td-agent stop')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def restart
|
def restart
|
||||||
# NOTE: td-agent has no reload command
|
# NOTE: td-agent has no reload command
|
||||||
# https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.init#L156
|
# https://github.com/treasure-data/td-agent/blob/master/debian/td-agent.init#L156
|
||||||
system('/etc/init.d/td-agent restart')
|
Bundler.with_clean_env do
|
||||||
|
system('/etc/init.d/td-agent restart')
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def version
|
def version
|
||||||
|
Loading…
Reference in New Issue
Block a user