Created
December 9, 2016 06:18
-
-
Save Nicd/8eaa7ea1d7968c59673746decbe98c3c 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
[Unit] | |
Description=codestats.net server | |
After=postgresql.service | |
[Service] | |
Type=simple | |
User=codestats | |
ExecStart=/var/codestats/codestats/run.sh | |
WorkingDirectory=/var/codestats/codestats | |
[Install] | |
WantedBy=multi-user.target |
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
#!/bin/bash | |
MIX_ENV=prod PORT=13370 elixir --name '[email protected]' -S mix phoenix.server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment