Sha256: d09f910c8d72d75633461f557fc5d6d0916ae1670ec56aa6a487e1b8f6f83635

Contents?: true

Size: 354 Bytes

Versions: 3

Compression:

Stored size: 354 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

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