nixos/raccoon: /var/run -> /run

This commit is contained in:
Bob van der Linden 2018-12-19 22:40:37 +01:00
parent 34738dea2a
commit 8062476f73
No known key found for this signature in database
GPG Key ID: 2A90361F99CF1795

View File

@ -32,12 +32,12 @@ in {
else cfg.configPath else cfg.configPath
}"; }";
ExecReload = "${pkgs.ipsecTools}/bin/racoonctl reload-config"; ExecReload = "${pkgs.ipsecTools}/bin/racoonctl reload-config";
PIDFile = "/var/run/racoon.pid"; PIDFile = "/run/racoon.pid";
Type = "forking"; Type = "forking";
Restart = "always"; Restart = "always";
}; };
preStart = '' preStart = ''
rm /var/run/racoon.pid || true rm /run/racoon.pid || true
mkdir -p /var/racoon mkdir -p /var/racoon
''; '';
}; };