Created
October 6, 2022 13:46
-
-
Save affeldt28/d2e24c330d3d899b1c49e5422cfc3fa9 to your computer and use it in GitHub Desktop.
Simple service for SystemD (etc/systemd/system/)
This file contains 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=Short description of this service | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=<command to execute> | |
Restart=always | |
RestartSec=10 | |
TimeoutStartSec=30 | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment