Skip to content

Instantly share code, notes, and snippets.

@oprypin
Created July 17, 2020 23:34
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 oprypin/edc88f686368cf3be9693a5abcaa4d22 to your computer and use it in GitHub Desktop.
Save oprypin/edc88f686368cf3be9693a5abcaa4d22 to your computer and use it in GitHub Desktop.
[Unit]
Description=Foo thingy
After=network.target
StartLimitIntervalSec=300
[Service]
ExecStart=/path/to/my/app
#User=nobody
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