Sha256: 593ceb3a6ad3d0fe54921c33706e6cf50c1b67253f0985f9fa4092f24c0fe512

Contents?: true

Size: 542 Bytes

Versions: 12

Compression:

Stored size: 542 Bytes

Contents

#!/bin/bash --login
# Start delayed job using rake
# Delayed_Job worker <%= fetch(:tmp_worker_number) %> running on <%= fetch(:application) %> running as <%= fetch(:user) %>

# Redirect stderr so everything ends up in the log file
exec 2>&1

# Announce start
echo "<%= "User: #{fetch(:user)} Application: #{fetch(:application)} Service: #{fetch(:tmp_delayed_job_runit_service_name)}" %> starting..."

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
capistrano-delayed_job-3.1.7 templates/runit/run.erb
capistrano-delayed_job-3.1.5 templates/runit/run.erb
capistrano-delayed_job-3.1.4 templates/runit/run.erb
capistrano-delayed_job-3.1.3 templates/runit/run.erb
capistrano-delayed_job-3.1.2 templates/runit/run.erb
capistrano-delayed_job-3.1.1 templates/runit/run.erb
capistrano-delayed_job-3.0.5 templates/runit/run.erb
capistrano-delayed_job-3.0.4 templates/runit/run.erb
capistrano-delayed_job-3.0.3 templates/runit/run.erb
capistrano-delayed_job-3.0.2 templates/runit/run.erb
capistrano-delayed_job-3.0.1 templates/runit/run.erb
capistrano-delayed_job-3.0.0 templates/runit/run.erb