nixos/locatedb: path restriction options were renamed

in systemd 231.
This commit is contained in:
Florian Jacob 2017-10-11 11:15:29 +02:00
parent f0b7ee37ef
commit 818b161e0a

View File

@ -147,8 +147,8 @@ in {
serviceConfig.PrivateTmp = "yes";
serviceConfig.PrivateNetwork = "yes";
serviceConfig.NoNewPrivileges = "yes";
serviceConfig.ReadOnlyDirectories = "/";
serviceConfig.ReadWriteDirectories = dirOf cfg.output;
serviceConfig.ReadOnlyPaths = "/";
serviceConfig.ReadWritePaths = dirOf cfg.output;
};
systemd.timers.update-locatedb =