Created
December 19, 2021 14:01
-
-
Save sdsdkkk/c33c263457016673a4716651283d5b43 to your computer and use it in GitHub Desktop.
ISP uptime systemd config 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=ISP Uptime Checker Utility | |
[Service] | |
ExecStart=/usr/bin/python3 /home/automaton/network-utils/isp-uptime/uptime-check.py | |
KillMode=process | |
Restart=on-failure | |
Type=simple | |
StandardOutput=append:/var/log/isp-uptime.log | |
StandardError=append:/var/log/isp-uptime.log | |
Environment=PYTHONUNBUFFERED=1 | |
[Install] | |
Alias=isp-uptime.service | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment