mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 08:00:59 +00:00
nixos/nordvpn: order nordvpnd after its socket (#580056)
This commit is contained in:
@@ -105,7 +105,11 @@ in
|
||||
];
|
||||
|
||||
systemd.services.nordvpnd = {
|
||||
after = [ "network-online.target" ];
|
||||
after = [
|
||||
"network-online.target"
|
||||
"nordvpnd.socket"
|
||||
];
|
||||
requires = [ "nordvpnd.socket" ];
|
||||
description = "NordVPN daemon.";
|
||||
path = (
|
||||
with pkgs;
|
||||
@@ -138,7 +142,6 @@ in
|
||||
ProtectControlGroups = true;
|
||||
ProtectSystem = "strict";
|
||||
ReadWritePaths = "/tmp/";
|
||||
Requires = "nordvpnd.socket";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
RestrictAddressFamilies = [
|
||||
|
||||
Reference in New Issue
Block a user