Sha256: e77ca4550ee7bcebafe500f3268c2a1781d52b19d775bc5649b1d7f6ec724ccb

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

#!/bin/bash --login
# Start puma service
<% c = Capistrano::BaseHelper::get_capistrano_instance %>
# 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 %>'
RAILS_ENV=<%= Capistrano::BaseHelper.environment %> exec <%= c.fetch(:puma_bin) %> -C <%= c.fetch(:puma_remote_config) %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-pumaio-0.0.4 templates/runit/run.erb
capistrano-pumaio-0.0.3 templates/runit/run.erb
capistrano-pumaio-0.0.2 templates/runit/run.erb