Sha256: d0a8e551805dee5741d789377d26636c43ed033177e850f0735f91ae81b6b237
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
# /etc/init/sidekiq.conf - Sidekiq config # This example config should work with Ubuntu 12.04+. It # allows you to manage multiple Sidekiq instances with # Upstart, Ubuntu's native service management tool. # # See workers.conf for how to manage all Sidekiq instances at once. # # Save this config as /etc/init/sidekiq.conf then mange sidekiq with: # sudo start sidekiq index=0 # sudo stop sidekiq index=0 # sudo status sidekiq index=0 # # or use the service command: # sudo service sidekiq {start,stop,restart,status} # description "Sidekiq Background Worker" # no "start on", we don't want to automatically start stop on (stopping workers or runlevel [06]) # change to match your deployment user setuid deploy setgid deploy respawn respawn limit 3 30 instance $index script # this script runs in /bin/sh by default # respawn as bash so we can source in rbenv exec /bin/bash <<EOT # use syslog for logging exec &> /dev/kmsg # pull in system rbenv export HOME=/home/deploy source /etc/profile.d/rbenv.sh cd /opt/theclymb/current exec bin/sidekiq -i ${index} -e production -C config/sidekiq.yml -P tmp/pids/sidekiq-${index}.pid EOT end script
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-2.7.5 | examples/upstart/sidekiq.conf |
sidekiq-2.7.4 | examples/upstart/sidekiq.conf |
sidekiq-2.7.3 | examples/upstart/sidekiq.conf |