Sha256: aaae6d1cc2c3d1c6c827cead1db5deac9b667d6dcfa9ef230da4bead578f8a2f

Contents?: true

Size: 514 Bytes

Versions: 12

Compression:

Stored size: 514 Bytes

Contents

#!/bin/bash --login
<% c = Capistrano::BaseHelper.get_capistrano_instance %>
# Announcing stop/abort
echo "<%= "User: #{c.fetch(:user)} Application: #{c.fetch(:application)} Service: #{c.fetch(:puma_runit_service_name)}" %> stopping..."

# The command used when puma is asked to quit/stop/exit, overridden here, as runit normal signal will not work with puma
cd '<%= c.current_path %>'
RAILS_ENV=<%= Capistrano::BaseHelper.environment %> exec <%= c.fetch(:puma_control) %> -S <%= c.fetch(:puma_state_file) %> stop

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
capistrano-pumaio-0.0.18 templates/runit/control-q.erb
capistrano-pumaio-0.0.17 templates/runit/control-q.erb
capistrano-pumaio-0.0.16 templates/runit/control-q.erb
capistrano-pumaio-0.0.15 templates/runit/control-q.erb
capistrano-pumaio-0.0.14 templates/runit/control-q.erb
capistrano-pumaio-0.0.11 templates/runit/control-q.erb
capistrano-pumaio-0.0.10 templates/runit/control-q.erb
capistrano-pumaio-0.0.9 templates/runit/control-q.erb
capistrano-pumaio-0.0.8 templates/runit/control-q.erb
capistrano-pumaio-0.0.7 templates/runit/control-q.erb
capistrano-pumaio-0.0.6 templates/runit/control-q.erb
capistrano-pumaio-0.0.5 templates/runit/control-q.erb