Last active
November 30, 2021 17:41
-
-
Save dacr/d1bda7f4236c261666dce701901cc3a4 to your computer and use it in GitHub Desktop.
simple alive service based on systemd (service part) / published by https://github.com/dacr/code-examples-manager #7cd68073-5e21-4fa4-aad4-41a39ec24b5c/9769275e91ff52477bd685f75a2b2a566db3c99b
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
## summary : simple alive service based on systemd (service part) | |
## keywords : systemd, ping, alive, service | |
## publish : gist | |
## authors : David Crosson | |
## license : none | |
## id : 7cd68073-5e21-4fa4-aad4-41a39ec24b5c | |
## created-on : 2020-10-17T13:30:49Z | |
## managed-by : https://github.com/dacr/code-examples-manager | |
# SEE alive-teller.time file for the time configuration | |
# copy this file into `/etc/systemd/system/` directory | |
[Unit] | |
Description=AliveTellerService | |
[Service] | |
Type=simple | |
WorkingDirectory=/tmp | |
ExecStart=/usr/bin/curl -s http://mapland.fr/ | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment