Sha256: 8719d154c171eb488d9dd1d3d92f1faef765959079df50fa50da5dc31bcd61ba

Contents?: true

Size: 506 Bytes

Versions: 3

Compression:

Stored size: 506 Bytes

Contents

[Unit]
Description=sidekiq for <%= "#{fetch(:application)} (#{fetch(:stage)})" %>
After=syslog.target network.target

[Service]
Type=simple
Environment=RAILS_ENV=<%= fetch(:rails_env) %>
WorkingDirectory=<%= fetch(:deploy_to) %>/current
ExecStart=<%= fetch(:bundler_path, '/usr/local/bin/bundler') %> exec sidekiq -e <%= fetch(:rails_env) %>
ExecReload=/bin/kill -TSTP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID

RestartSec=1
Restart=on-failure

SyslogIdentifier=sidekiq

[Install]
WantedBy=default.target

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capistrano-sidekiq-1.0.3 lib/generators/capistrano/sidekiq/systemd/templates/sidekiq.service.capistrano.erb
capistrano-sidekiq-1.0.2 lib/generators/capistrano/sidekiq/systemd/templates/sidekiq.service.capistrano.erb
capistrano-sidekiq-1.0.1 lib/generators/capistrano/sidekiq/systemd/templates/sidekiq.service.capistrano.erb