nixos/preload: fix log permission

This commit is contained in:
LDprg 2023-12-02 19:19:08 +01:00
parent d616185828
commit 6f33e6e4ab

View file

@ -19,7 +19,7 @@ in {
serviceConfig = { serviceConfig = {
EnvironmentFile = "${cfg.package}/etc/conf.d/preload"; EnvironmentFile = "${cfg.package}/etc/conf.d/preload";
ExecStart = "${getExe cfg.package} --foreground $PRELOAD_OPTS"; ExecStart = "${getExe cfg.package} -l '' --foreground $PRELOAD_OPTS";
Type = "simple"; Type = "simple";
# Only preload data during CPU idle time # Only preload data during CPU idle time
IOSchedulingClass = 3; IOSchedulingClass = 3;