Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Go Revel Systemd script
[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
You can’t perform that action at this time.