-
-
Save johnhamelink/82f838c10be1809fa5e8f8ef5f02b9b8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| description "Find a Player API" | |
| setuid deploy | |
| setgid deploy | |
| start on runlevel [2345] | |
| stop on runlevel [016] | |
| expect stop | |
| respawn | |
| env MIX_ENV=prod | |
| export MIX_ENV | |
| env HOME=/home/deploy | |
| export HOME | |
| pre-start exec /bin/sh /opt/api/bin/api start | |
| post-stop exec /bin/sh /opt/api/bin/api stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment