Skip to content

Instantly share code, notes, and snippets.

@jyfcrw
Last active September 20, 2018 11:22
Show Gist options
  • Select an option

  • Save jyfcrw/2c98d33c4125b2215958 to your computer and use it in GitHub Desktop.

Select an option

Save jyfcrw/2c98d33c4125b2215958 to your computer and use it in GitHub Desktop.
Command to start sidekiq as daemon
cd /var/www/default/apps/myproject/releases/20160225020340 && ( export PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" ; bundle exec sidekiq --index 0 --pidfile /var/www/default/apps/lingwatch/shared/tmp/pids/sidekiq-0.pid --environment production --logfile /var/www/default/apps/lingwatch/shared/log/sidekiq.log --config config/sidekiq.yml --daemon )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment