Last active
May 28, 2019 11:18
-
-
Save pollingj/402e1259044c7f8b7eb8f9d830cf4de3 to your computer and use it in GitHub Desktop.
Basic Elixir / Phoenix monit conf
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 {{app_name}} MATCHING "{{app_name}}.sh" | |
start program = "/bin/su - {{ deployer_user }} -c '{{app_dir}}/bin/{{app_name}} start'" | |
stop program = "/bin/su - {{ deployer_user }} -c '{{app_dir}}/bin/{{app_name}} stop'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment