Sha256: 9ce5f5112f3c435afdabc1c1b4795b87fe9dc6458d109bd75c07fb540d26f1ab
Contents?: true
Size: 729 Bytes
Versions: 12
Compression:
Stored size: 729 Bytes
Contents
#!/bin/bash --login # Start puma service # <% c = Capistrano::BaseHelper.get_capistrano_instance %> # Redirect stderr so everything ends up in the log file exec 2>&1 # Announce start echo "<%= "User: #{c.fetch(:user)} Application: #{c.fetch(:application)} Service: #{c.fetch(:puma_runit_service_name)}" %> starting..." # remove pumactl.sock and puma.sock if existing, as puma doesn't overwrite and files may be # existing after server crash or if puma wasnt shutdown properly. rm -f "<%= c.fetch(:puma_socket_file) %>" rm -f "<%= c.fetch(:puma_control_file) %>" cd '<%= c.current_path %>' # Start puma RAILS_ENV=<%= Capistrano::BaseHelper.environment %> exec <%= c.fetch(:puma_bin) %> -C <%= c.fetch(:puma_remote_config) %>
Version data entries
12 entries across 12 versions & 1 rubygems