Skip to content

Instantly share code, notes, and snippets.

@codenoid
Created August 28, 2017 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codenoid/52803b6dd92286544846185237a4dda2 to your computer and use it in GitHub Desktop.
Save codenoid/52803b6dd92286544846185237a4dda2 to your computer and use it in GitHub Desktop.
[Unit]
Description=cargo_shorts
Documentation=https://github.com/Fryguy/cargo_shorts/blob/master/README.md
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/cargo_shorts
ExecStart=/opt/cargo_shorts/bin/cargo_shorts -p 80
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