Merge pull request #271723 from LDprg/master

nixos/preload: fix log permission
This commit is contained in:
Lin Jian 2023-12-02 16:58:19 -06:00 committed by GitHub
commit 094017d16d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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