elephant: fix service unit

Signed-off-by: Ratakor <ratakor@disroot.org>
This commit is contained in:
Ratakor 2026-07-07 12:18:11 +02:00 committed by Austin Horstman
parent ed10fd394e
commit 8de7488af2
2 changed files with 7 additions and 1 deletions

View file

@ -53,7 +53,11 @@ in
};
systemd.user.services.elephant = {
Unit.Description = "Elephant - Data provider for application launchers";
Unit = {
Description = "Elephant - Data provider for application launchers";
After = [ "graphical-session.target" ];
PartOf = [ "graphical-session.target" ];
};
Install.WantedBy = [ "graphical-session.target" ];
Service = {
ExecStart = lib.getExe cfg.package;

View file

@ -6,4 +6,6 @@ ExecStart=@elephant@/bin/elephant
Restart=on-failure
[Unit]
After=graphical-session.target
Description=Elephant - Data provider for application launchers
PartOf=graphical-session.target