syncthing: start tray after syncthing.service

Fixes #2963
This commit is contained in:
Sumner Evans 2022-05-19 09:22:35 -06:00
parent cb9f03d519
commit 85509d0934
No known key found for this signature in database
GPG Key ID: 8904527AB50022FD
1 changed files with 10 additions and 2 deletions

View File

@ -98,7 +98,11 @@ in {
Unit = {
Description = cfg.tray.package.pname;
Requires = [ "tray.target" ];
After = [ "graphical-session-pre.target" "tray.target" ];
After = [
"graphical-session-pre.target"
"tray.target"
"syncthing.service"
];
PartOf = [ "graphical-session.target" ];
};
@ -118,7 +122,11 @@ in {
Unit = {
Description = "syncthingtray";
Requires = [ "tray.target" ];
After = [ "graphical-session-pre.target" "tray.target" ];
After = [
"graphical-session-pre.target"
"tray.target"
"syncthing.service"
];
PartOf = [ "graphical-session.target" ];
};