ports: if they fail to forward, retry after some interval

This commit is contained in:
Colin 2023-09-01 00:30:32 +00:00
parent 913201b9cd
commit 68bce9c8b7
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ let
serviceConfig = {
Type = "oneshot";
TimeoutSec = "6min";
Restart = "on-failure";
RestartSec = "3min";
ExecStart =
let
portFwd = "${pkgs.sane-scripts.ip-port-forward}/bin/sane-ip-port-forward";