Sha256: 2e4790089b0e30d07513266c20221e163b309cfa4635c364b49312531a8c9462

Contents?: true

Size: 422 Bytes

Versions: 9

Compression:

Stored size: 422 Bytes

Contents

#!/bin/bash --login
# Announcing stop/abort
echo "<%= "User: #{fetch(:user)} Application: #{fetch(:application)} Service: #{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 '<%= current_path %>'
RAILS_ENV=<%= environment %> exec <%= fetch(:puma_control) %> -S <%= fetch(:puma_state_file) %> stop

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
capistrano-pumaio-3.1.6 templates/runit/control/q.erb
capistrano-pumaio-3.1.4 templates/runit/control/q.erb
capistrano-pumaio-3.1.3 templates/runit/control/q.erb
capistrano-pumaio-3.1.2 templates/runit/control/q.erb
capistrano-pumaio-3.1.1 templates/runit/control/q.erb
capistrano-pumaio-3.0.3 templates/runit/control/q.erb
capistrano-pumaio-3.0.2 templates/runit/control/q.erb
capistrano-pumaio-3.0.1 templates/runit/control/q.erb
capistrano-pumaio-3.0.0 templates/runit/control/q.erb