Skip to content

Commit

Permalink
Set default host to 0.0.0.0 for backword compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tanaka51 committed Apr 9, 2015
1 parent 383be3b commit ce95523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluentd-ui/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Command < Thor
option :port, type: :numeric, default: 9292
option :pidfile, type: :string, default: File.expand_path('tmp/fluentd-ui.pid', ROOT)
option :daemonize, type: :boolean, default: false
option :host, type: :string, default: 'localhost'
option :host, type: :string, default: '0.0.0.0'
def start
trap(:INT) { puts "\nStopping..." }
# NOTE: on Debian based distributions, td-agent uses start-stop-daemon with --exec option for stopping process
Expand Down

0 comments on commit ce95523

Please sign in to comment.