fix dhcp lease to unbount, git runner and openconnect keepalive

This commit is contained in:
2023-12-13 17:51:04 +01:00
parent 82bda66d24
commit 3b207db752
4 changed files with 27 additions and 5 deletions

View File

@@ -19,4 +19,22 @@ in
};
};
};
systemd.services.openconnect-wrwks-keepalive = {
serviceConfig.Type = "oneshot";
path = with pkgs; [ bash ];
script = ''
ping -c 2 stage.wsw.at
'';
};
systemd.timers.openconnect-wrwks-keepalive = {
wantedBy = [ "timers.target" ];
partOf = [ "openconnect-wrwks-keepalive.service" ];
timerConfig = {
OnCalendar = "*:0/1";
Unit = "openconnect-wrwks-keepalive.service";
};
};
}