Created
April 25, 2017 04:05
-
-
Save shavit/73acba1486d4d9bd89d819078f9658c5 to your computer and use it in GitHub Desktop.
Go Revel Systemd script
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
[Unit] | |
Description=API web app | |
[Service] | |
PIDFile=/tmp/app.pid-0000 | |
User= | |
Group= | |
WorkingDirectory= | |
ExecStart=PATH-TO-APP/bin/app/start.sh | |
# OR | |
# ExecStart=PATH-TO-LOAD-APP-ENV-THEN-EXEC/bin/app/start.sh | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment