Created
September 8, 2022 22:53
-
-
Save helloimalemur/ea53795821ead8ef44a98a14ea50cd71 to your computer and use it in GitHub Desktop.
example systemd .service file
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=example | |
After=network.target | |
StartLimitInterval=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 | |
User=myq | |
ExecStart=/usr/share/example/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