Last active
May 12, 2021 15:39
-
-
Save orendon/a34d60e6fbe96e5433f60aeb28c9987c to your computer and use it in GitHub Desktop.
TLE bot systemd
This file contains hidden or 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
# /etc/systemd/system/tle.service | |
[Unit] | |
Description=TLE-bot | |
[Service] | |
ExecStart=/home/orendon/TLE/run.sh | |
Restart=on-failure | |
RestartSec=5s | |
[Install] | |
WantedBy=default.target |
This file contains hidden or 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
sudo systemctl enable tle | |
sudo systemctl start tle | |
sudo systemctl status tle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment