Sha256: 42a74ad073ddf27cca01026925a9a1d03030bd5ba1670a2a3afd2e3f5c51e3a0
Contents?: true
Size: 810 Bytes
Versions: 3
Compression:
Stored size: 810 Bytes
Contents
# /etc/init/workers.conf - manage a set of Sidekiqs # 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 sidekiq.conf for how to manage a single Sidekiq instance. # # Use "stop workers" to stop all Sidekiq instances. # Use "start workers" to start all instances. # Use "restart workers" to restart all instances. # Crazy, right? # description "manages the set of sidekiq processes" # This starts upon bootup and stops on shutdown start on runlevel [2345] stop on runlevel [06] # Set this to the number of Sidekiq processes you want # to run on this machine env NUM_WORKERS=2 pre-start script for i in `seq 0 $((${NUM_WORKERS} - 1))` do start sidekiq index=$i done end script
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-2.7.5 | examples/upstart/workers.conf |
sidekiq-2.7.4 | examples/upstart/workers.conf |
sidekiq-2.7.3 | examples/upstart/workers.conf |