So I just moved rails application that runs sidekiq from one server to another.
Since I moved the application I don't see sidekiq running on the new server.
I want it to always be running, so I tried the following:
-bash-4.1$ bundle exec sidekiq -d :-e production
You really should set a logfile if you're going to daemonize shared/bundle/ruby/2.1.0/gems/sidekiq-3.0.0/lib/sidekiq/cli.rb:153:in
daemonize' shared/bundle/ruby/2.1.0/gems/sidekiq-3.0.0/lib/sidekiq/cli.rb:39:in
parse' shared/bundle/ruby/2.1.0/gems/sidekiq-3.0.0/bin/sidekiq:7:in<top (required)>' shared/bundle/ruby/2.1.0/bin/sidekiq:23:in
load' shared/bundle/ruby/2.1.0/bin/sidekiq:23:in `'
My code and config files are exactly the same as it was in the previous server. I don't see any config in the old server that specifies log files for sidekiq. I see the sidekiq logs were automatically created on the old server, not sure how.
How do I make the sidekiq job to always be running?
Aucun commentaire:
Enregistrer un commentaire