Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active November 30, 2021 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/d1bda7f4236c261666dce701901cc3a4 to your computer and use it in GitHub Desktop.
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
## 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