Sha256: 524e66856ebeeaafe585cd8f79251cb8b760bd5a6c1ebfe3e743a99b1d009399

Contents?: true

Size: 505 Bytes

Versions: 7

Compression:

Stored size: 505 Bytes

Contents

#!/bin/bash --login
# Start delayed job using rake
<% 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(:delayed_job_runit_service_name)}" %> starting..."

# Change path to current path
cd '<%= c.current_path %>'

# Start delayed job
RAILS_ENV=<%= Capistrano::BaseHelper.environment %> exec <%= c.fetch(:delayed_job_bin) %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
capistrano-delayed_job-0.0.10 templates/runit/run.erb
capistrano-delayed_job-0.0.9 templates/runit/run.erb
capistrano-delayed_job-0.0.8 templates/runit/run.erb
capistrano-delayed_job-0.0.7 templates/runit/run.erb
capistrano-delayed_job-0.0.6 templates/runit/run.erb
capistrano-delayed_job-0.0.5 templates/runit/run.erb
capistrano-delayed_job-0.0.4 templates/runit/run.erb