Skip to content

Instantly share code, notes, and snippets.

@pollingj
Last active May 28, 2019 11:18
Show Gist options
  • Save pollingj/402e1259044c7f8b7eb8f9d830cf4de3 to your computer and use it in GitHub Desktop.
Save pollingj/402e1259044c7f8b7eb8f9d830cf4de3 to your computer and use it in GitHub Desktop.
Basic Elixir / Phoenix monit conf
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