Module: Luban::Deployment::Applications::Rack::WebServers::Thin

Includes:
Common
Defined in:
lib/luban/deployment/applications/rack/web_servers/thin.rb

Defined Under Namespace

Modules: Cluster, Common, Paths

Instance Method Summary collapse

Methods included from Common

#default_web_server_options, #process_pattern, #start_command, #stop_command, #tcp_socket?, #thin_command, #unix_socket?

Methods included from Paths

#control_file_extname, #pid_file_name, #pid_file_path, #socket_file_name, #socket_file_path

Methods included from Cluster

#monitor_command, #pid, #pid_file_exists?, #pid_file_pattern, #pid_files, #pid_files_path, #pids, #remove_orphaned_pid_file, #unmonitor_command

Instance Method Details

#phased_restart_commandObject



154
155
156
# File 'lib/luban/deployment/applications/rack/web_servers/thin.rb', line 154

def phased_restart_command
  @phased_restart_command ||= bundle_command("#{thin_command} restart --onebyone")
end

#restart_commandObject



150
151
152
# File 'lib/luban/deployment/applications/rack/web_servers/thin.rb', line 150

def restart_command
  @restart_command ||= bundle_command("#{thin_command} restart")
end