Skip to content

Instantly share code, notes, and snippets.

@MatejLach
Created January 20, 2019 12:11
Show Gist options
  • Save MatejLach/35ac5d43e358dc7be8a54b219213a471 to your computer and use it in GitHub Desktop.
Save MatejLach/35ac5d43e358dc7be8a54b219213a471 to your computer and use it in GitHub Desktop.
Example of a simple systemd service definition
[Unit]
Description=My awesome Go app
After=multi-user.target
[Service]
Type=idle
ExecStart=/usr/bin/mygobinary
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment