Created
September 26, 2016 09:01
-
-
Save eladmeidar/940e13252f87e8ff95200a5546b9883d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process thin-3000 with pidfile /var/www/html/redmine2/current/tmp/pids/thin.3000.pid | |
start program = "cd /var/www/html/redmine2/current && /usr/local/rvm/bin/rvm default do bundle exec thin start -C /var/www/html/redmine2/current/config/thin/performance.yml" | |
stop program = "cd /var/www/html/redmine2/current && /usr/local/rvm/bin/rvm default do bundle exec thin stop -C /var/www/html/redmine2/current/config/thin/performance.yml" | |
if 3 restarts within 5 cycles then timeout | |
if totalmem is greater than 400.0 MB for 2 cycles then restart | |
group thin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment