summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/wireguard/server.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-11-16 21:39:22 +0100
committermakefu <github@syntax-fehler.de>2020-11-16 21:39:22 +0100
commitedf61887abaee0741c7d5c4d5df59d13b3331c9a (patch)
tree8d1dd6a36a71a2de3db1956b7a09ba33ab7d35cd /makefu/2configs/wireguard/server.nix
parent2408e07fd303eb74648c785b84cca3fa82a490f5 (diff)
parente824baec5ed0f42b6002632295ab241e9c7a80c7 (diff)
Merge branch 'master' into 20.09
Diffstat (limited to 'makefu/2configs/wireguard/server.nix')
-rw-r--r--makefu/2configs/wireguard/server.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefu/2configs/wireguard/server.nix b/makefu/2configs/wireguard/server.nix
index ae10f34a2..1b81cf57f 100644
--- a/makefu/2configs/wireguard/server.nix
+++ b/makefu/2configs/wireguard/server.nix
@@ -54,4 +54,10 @@ in { # wireguard server
}
];
};
+ # TODO: this issue is related to the router which connects to the host but is
+ # unable to re-connect once restarted
+ systemd.services.wireguard-wg0.serviceConfig = {
+ Restart = "always";
+ RuntimeMaxSec = "12h";
+ };
}