lib/generators/kapify/resque/templates/resque_init.erb in kapify-0.0.1 vs lib/generators/kapify/resque/templates/resque_init.erb in kapify-0.0.2
- old
+ new
@@ -31,10 +31,10 @@
local program
local options
program=$BUNDLE
options="exec rake $TASK"
-options="$options RACK_ENV=$ENVIRONMENT QUEUES=$QUEUES"
+options="$options RACK_ENV=$ENVIRONMENT QUEUES=$QUEUES NEWRELIC_DISPATCHER=resque"
for i in $(seq 1 $COUNT); do
pidfile=$(printf "$PIDFILE" $i)
if start-stop-daemon --start --background --quiet --pidfile $pidfile --chdir $ROOT --chuid $USER:$GROUP --exec $program -- $options PIDFILE=$pidfile