Created
July 17, 2024 16:19
-
-
Save LuisPalacios/d727698d2765d3276038aebdfe1e54af to your computer and use it in GitHub Desktop.
ARSYS - API para modificar mi dominio DNS - systemctl service
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
# Fichero systemd: | |
# /etc/systemd/system/arsys_update.service | |
# | |
# Conjunto de tres ficheros | |
# /etc/systemd/system/arsys_update.timer | |
# /etc/systemd/system/arsys_update.service | |
# /usr/bin/arsys_update.py | |
# | |
# Ejecuta un script para consumir el API que permite | |
# hacer actualizaciones en el DNS de Arsys | |
# | |
# Para activarlo ver cdmon_update.timer | |
# | |
# | |
[Unit] | |
Description=Arsys DNS Update | |
Wants=network-online.target internet_wait.service | |
After=network-online.target internet_wait.service | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/arsys_update.py -u | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment