examples/chef_cookbook/templates/default/initd.erb in resque-pool-0.3.0.beta.2 vs examples/chef_cookbook/templates/default/initd.erb in resque-pool-0.3.0
- old
+ new
@@ -39,10 +39,10 @@
# something else, you'll need to change this. Remember to
# keep the double-dash; e.g.: --startas CMD -- ARGS
start-stop-daemon --start --pidfile ${pidfile} \
--chuid ${run_as_user} --chdir ${app_dir} \
--startas ${bundler} -- exec \
- resque-pool -d -p ${pidfile} -E ${environment} -o ${stdout_log} -e ${stderr_log}
+ resque-pool -d -a ${app_name} -p ${pidfile} -E ${environment} -o ${stdout_log} -e ${stderr_log}
;;
reload)
start-stop-daemon --stop --pidfile ${pidfile} --signal HUP
;;
graceful-stop)