contrib/apn_sender.monitrc in apn_sender-1.0.2 vs contrib/apn_sender.monitrc in apn_sender-1.0.3
- old
+ new
@@ -16,6 +16,7 @@
check process apn_sender
with pidfile /var/www/#{app_name}/shared/pids/apn_sender.pid
group apn_sender
start program = "/var/www/#{app_name}/current/script/apn_sender --environment=production --verbose start"
stop program = "/var/www/{#app_name}/current/script/apn_sender --environment=production --verbose stop"
+ if 2 restarts within 3 cycles then timeout
depends_on redis
\ No newline at end of file