0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

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;
};