Created
February 18, 2014 15:43
-
-
Save astropanic/9073403 to your computer and use it in GitHub Desktop.
monit
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 puma with pidfile /daten/appsse/production/current/tmp/pids/puma.sock | |
start program = "/usr/bin/env bash -c 'export HOME="/daten/appsse/" && source /daten/appsse/.rvm/environments/default && cd /daten/appsse/production/current && bundle exec puma -C config/puma/config.rb' as uid appsse and gid web | |
stop program = "/usr/bin/env bash -c 'export HOME="/daten/appsse/" && source /daten/appsse/.rvm/environments/default && cd /daten/appsse/production/current && bundle exec pumactl -S tmp/pids/puma.state stop' as uid appsse and gid web |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment