1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

nixos/tailscale-auth: restart on-failure and wait for tailscaled (#393038)

This commit is contained in:
Paul Haerle 2025-06-04 13:50:31 +02:00 committed by GitHub
commit ea34fcd8ae
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,7 @@ in
systemd.services.tailscale-nginx-auth = {
description = "Tailscale NGINX Authentication service";
requires = [ "tailscale-nginx-auth.socket" ];
after = [ "tailscaled.service" ];
serviceConfig = {
ExecStart = getExe cfg.package;
@ -107,6 +108,8 @@ in
"~@privileged"
"~@setuid"
];
Restart = "on-failure";
};
};
};