walker: fix systemd dependency cycle with elephant

Signed-off-by: Ratakor <ratakor@disroot.org>
This commit is contained in:
Ratakor 2026-07-07 13:11:07 +02:00 committed by Austin Horstman
parent 16acb8c7ff
commit 52f93adbac
2 changed files with 5 additions and 1 deletions

View file

@ -117,7 +117,10 @@ in
Description = "Walker - Application Runner";
}
// lib.optionalAttrs cfg.enableElephantIntegration {
After = [ "elephant.service" ];
After = [
"graphical-session.target"
"elephant.service"
];
Requires = [ "elephant.service" ];
};
Install.WantedBy = [ "graphical-session.target" ];

View file

@ -6,6 +6,7 @@ ExecStart=@walker@/bin/walker --gapplication-service
Restart=on-failure
[Unit]
After=graphical-session.target
After=elephant.service
Description=Walker - Application Runner
Requires=elephant.service