Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wlmcewen/b66553a50f36ef714f8e to your computer and use it in GitHub Desktop.
Save wlmcewen/b66553a50f36ef714f8e to your computer and use it in GitHub Desktop.
managing processes w/o the init scripts
# Note the uniq pid file at the end
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g match_prospector-prod -c 5 -q default -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-0
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g match_prospector-prod -c 5 -q default -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-1
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g match_prospector-prod -c 5 -q default -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-2
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g match_prospector-prod -c 5 -q default -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-3
# Note the uniq pid files at the end
/usr/bin/env bundle exec sidekiqctl quiet /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-3
/usr/bin/env bundle exec sidekiqctl quiet /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-4
/usr/bin/env bundle exec sidekiqctl quiet /home/httpd/prospector/prod/current/tmp/sidekiq.pid-match-5
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g prospector-prod -c 10 -q newsfeeds,4 -q processing,1 -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-0
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g prospector-prod -c 10 -q newsfeeds,4 -q processing,1 -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-1
/usr/bin/env bundle exec sidekiq -d -i 0 -e production -C /home/httpd/prospector/prod/current/config/sidekiq.yml -L /home/httpd/prospector/prod/current/log/sidekiq.log -g prospector-prod -c 10 -q newsfeeds,4 -q processing,1 -P /home/httpd/prospector/prod/current/tmp/sidekiq.pid-2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment