Module: Luban::Deployment::Applications::Rack::WebServers::Puma
- Includes:
- Common
- Defined in:
- lib/luban/deployment/applications/rack/web_servers/puma.rb
Defined Under Namespace
Modules: Common
Instance Method Summary
collapse
Methods included from Common
#control_socket_file_name, #control_socket_file_path, #default_web_server_options, #error_log_file_path, #process_pattern, #puma_command, #service_entry, #start_command, #state_file_name, #state_file_path, #stop_command, #tcp_socket?, #unix_socket?
Instance Method Details
#phased_restart_command ⇒ Object
149
150
151
|
# File 'lib/luban/deployment/applications/rack/web_servers/puma.rb', line 149
def phased_restart_command
@phased_restart_command ||= bundle_command("#{puma_command} phased-restart")
end
|
#publish_web_server ⇒ Object
153
154
155
|
# File 'lib/luban/deployment/applications/rack/web_servers/puma.rb', line 153
def publish_web_server
install_puma_plugins if publish_app?
end
|
#restart_command ⇒ Object
145
146
147
|
# File 'lib/luban/deployment/applications/rack/web_servers/puma.rb', line 145
def restart_command
@restart_command ||= bundle_command("#{puma_command} restart")
end
|