nixos/raccoon: /var/run -> /run
This commit is contained in:
parent
34738dea2a
commit
8062476f73
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user