commands/rhoconnect/restart.rb in rhoconnect-5.1.1 vs commands/rhoconnect/restart.rb in rhoconnect-5.5.0
- old
+ new
@@ -3,10 +3,9 @@
method_option :port, :aliases => "-p", :type => :numeric, :desc => "Use port (default: #{RHOCONNECT_PORT})"
method_option :redis, :aliases => "-r", :type => :string, :desc => "Redis server settings: (default: #{REDIS_SERVER_URL})"
method_option :push_server, :aliases => "-P", :type => :string, :desc => "Push server settings (default: #{PUSH_SERVER_URL})"
method_option :api_token, :aliases => "-t", :type => :string, :desc => "API token (default: #{API_TOKEN})"
method_option :config, :aliases => "-f", :type => :string, :desc => "/path/to/rhoconnect/settings.yml file"
- method_option :licenseflie, :aliases => "-l", :type => :string, :desc => "/path/to/license.key file"
def restart
puts "Stop rhoconnect server ..."
stop
puts "Start rhoconnect server ..."
start options
\ No newline at end of file