Created
July 17, 2024 16:20
-
-
Save LuisPalacios/8cba4bd4a70b77c21cf63bee6759e3ef to your computer and use it in GitHub Desktop.
ARSYS - API para modificar mi dominio DNS - systemctl timer
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.timer | |
# | |
# Conjunto de tres ficheros | |
# /etc/systemd/system/arsys_update.timer | |
# /etc/systemd/system/arsys_update.service | |
# /usr/bin/arsys_update.py | |
# | |
# Esta unidad lanza arsys_update.service, que realiza | |
# actualizaciones en el DNS de Arsys a través de API | |
# | |
# Para activarlo ejecutar: | |
# systemctl daemon-reload | |
# systemctl enable arsys_update.timer | |
# | |
[Unit] | |
Description=Timer arsys_update.service | |
[Timer] | |
# Tiempo a esperar despues del boot para ejecutar por primera vez | |
OnBootSec=30 | |
# Cada cuanto tiempo entre ejecuciones | |
OnUnitActiveSec=5min | |
Unit=cdmon_update.service | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment