Skip to content

Commit

Permalink
correcting syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroaxl committed May 14, 2014
1 parent 14b2c0c commit 890ffb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/default/resque-n.conf.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!upstart
description "Resque worker <%= instance %> <%= queue %>"
description "Resque worker <%= @instance %> <%= @queue %>"
respawn

start on starting resque
stop on stopping resque

exec su - deploy -c 'cd <%= node['resque']['path'] %>; QUEUE=<%= queue %> VERBOSE=1 RAILS_ENV=<%= node['resque']['rails_env'] %> bundle exec rake resque:work >> /var/log/resque/<%= instance %>.log 2>&1'
exec su - deploy -c 'cd <%= node['resque']['path'] %>; QUEUE=<%= @queue %> VERBOSE=1 RAILS_ENV=<%= node['resque']['rails_env'] %> bundle exec rake resque:work >> /var/log/resque/<%= @instance %>.log 2>&1'

0 comments on commit 890ffb7

Please sign in to comment.