mirror of
https://github.com/plashchynski/crono.git
synced 2026-01-14 14:23:27 +01:00
7 lines
300 B
Plaintext
7 lines
300 B
Plaintext
check process crono_myapp
|
|
with pidfile /path/to/crono.pid
|
|
start program = "bundle exec crono -e production" with timeout 30 seconds
|
|
stop program = "kill -s TERM `cat /path/to/crono.pid`" with timeout 30 seconds
|
|
if totalmem is greater than 500 MB for 2 cycles then restart
|
|
group myapp_crono
|