ddns-he: start timer on boot

This commit is contained in:
Colin 2022-06-20 15:36:48 -07:00
parent 69e9cbae96
commit b6de07a731

View File

@ -18,10 +18,13 @@
${crl} "https://uninsane.org:$HE_PASSPHRASE@dyn.dns.he.net/nic/update?hostname=uninsane.org" ${crl} "https://uninsane.org:$HE_PASSPHRASE@dyn.dns.he.net/nic/update?hostname=uninsane.org"
''; '';
}; };
systemd.timers.ddns-he.timerConfig = { systemd.timers.ddns-he = {
wantedBy = [ "multi-user.target" ];
timerConfig = {
OnStartupSec = "2min"; OnStartupSec = "2min";
OnUnitActiveSec = "10min"; OnUnitActiveSec = "10min";
}; };
};
sops.secrets."ddns_he" = { sops.secrets."ddns_he" = {
sopsFile = ../../../secrets/servo.yaml; sopsFile = ../../../secrets/servo.yaml;