Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run Sidekiq as daemon on Ubuntu

Tags:

How can I run sidekiq as daemon on Ubuntu?

If I run bundle exec sidekiq -D I get invalid option: -D, is there any way to run it without some other controller, like god, upstart...?

like image 284
Philip Avatar asked Mar 20 '13 10:03

Philip


2 Answers

there's an option to Daemonize sidekiq, just pass -d option

commit

like image 150
Said Kaldybaev Avatar answered Oct 07 '22 05:10

Said Kaldybaev


As of sidekiq 6.0 Daemonization wouldnt work and if you pass -d, you'll get a message:

Daemonization mode was removed in Sidekiq 6.0, please use a proper process supervisor to start and manage your services

check the issue here #4045

like image 30
Ankit Wadhwana Avatar answered Oct 07 '22 07:10

Ankit Wadhwana