nixos/raccoon: /var/run -> /run
This commit is contained in:
parent
34738dea2a
commit
8062476f73
@ -32,12 +32,12 @@ in {
|
||||
else cfg.configPath
|
||||
}";
|
||||
ExecReload = "${pkgs.ipsecTools}/bin/racoonctl reload-config";
|
||||
PIDFile = "/var/run/racoon.pid";
|
||||
PIDFile = "/run/racoon.pid";
|
||||
Type = "forking";
|
||||
Restart = "always";
|
||||
};
|
||||
preStart = ''
|
||||
rm /var/run/racoon.pid || true
|
||||
rm /run/racoon.pid || true
|
||||
mkdir -p /var/racoon
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user