1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

git: fix maintenance service

Call to git-maintenance in the systemd user service was using a
erroneous value for exec-path flag. Removing the flag is fine.
This commit is contained in:
sinavir 2024-11-03 12:29:02 +01:00 committed by GitHub
parent 1743615b61
commit 2c6a9b3ccf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -549,7 +549,7 @@ in {
Type = "oneshot"; Type = "oneshot";
ExecStart = let exe = lib.getExe cfg.package; ExecStart = let exe = lib.getExe cfg.package;
in '' in ''
"${exe}" --exec-path="${exe}" for-each-repo --config=maintenance.repo maintenance run --schedule=%i "${exe}" for-each-repo --keep-going --config=maintenance.repo maintenance run --schedule=%i
''; '';
LockPersonality = "yes"; LockPersonality = "yes";
MemoryDenyWriteExecute = "yes"; MemoryDenyWriteExecute = "yes";