Skip to content

Commit

Permalink
Fix Sidekiq stop command in god config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Mar 17, 2013
1 parent d9df0ae commit e4fbc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/god.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
w.dir = RAILS_ROOT
w.pid_file = "#{RAILS_ROOT}/tmp/pids/#{w.name}.pid"
w.start = "nohup bundle exec sidekiq -e production -C #{RAILS_ROOT}/config/sidekiq.yml -P #{RAILS_ROOT}/tmp/pids/sidekiq.pid >> #{RAILS_ROOT}/log/sidekiq.log 2>&1 &"
w.stop = "kill -QUIT `cat #{RAILS_ROOT}/tmp/pids/sidekiq.pid`"
w.stop = "kill -9 `cat #{RAILS_ROOT}/tmp/pids/sidekiq.pid`"

# determine the state on startup
w.transition(:init, { true => :up, false => :start }) do |on|
Expand Down

0 comments on commit e4fbc84

Please sign in to comment.