Merge pull request #61971 from sjau/wg_client_start

wireguard: restart on failure\nAs a oneshot service, if the startup f…
This commit is contained in:
Maximilian Bosch 2019-05-25 16:36:56 +02:00 committed by GitHub
commit 5fa93517f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -245,7 +245,9 @@ let
path = with pkgs; [ kmod iproute wireguard-tools ];
serviceConfig = {
Type = "oneshot";
Type = "simple";
Restart = "on-failure";
RestartSec = "5s";
RemainAfterExit = true;
};