Last active
March 2, 2024 23:18
-
-
Save deadjakk/1734c46b66f6c65559f80d8a10f746f5 to your computer and use it in GitHub Desktop.
simple systemd service template
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
# https://stackoverflow.com/questions/68484974/how-to-run-bash-script-as-background-process-on-system-forever | |
[Unit] | |
Description=My Shell Script for Sync | |
[Service] | |
ExecStart=/usr/bin/sync.sh | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment