Created
March 24, 2021 19:05
-
-
Save levidurfee/b163b634af7a622c32eca86b327c5555 to your computer and use it in GitHub Desktop.
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
# https://wiki.debian.org/systemd/Services | |
# Contents of /etc/systemd/system/myservice.service | |
[Unit] | |
Description=My Service | |
After=network.target | |
[Service] | |
Type=simple | |
Restart=always | |
ExecStart=/usr/local/bin/myservice | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment