diff options
| author | Max Gautier <mg@max.gautier.name> | 2023-07-29 08:37:26 +0000 |
|---|---|---|
| committer | Max Gautier <mg@max.gautier.name> | 2023-08-10 09:29:06 +0000 |
| commit | 14ea4322feea0c649cf06feb503d3b8fd59522cd (patch) | |
| tree | 38ca35e364bfbd3873f4576be1d1f1c00f6bb68b | |
| parent | meson: allow building with wayland-protocols as a subproject (diff) | |
Order the systemd services after graphical-session.target
This fixes services in Wayland session where WAYLAND_DISPLAY is only
imported into the systemd user instance environment after
graphical-session.target is reached (such as GNOME).
| -rw-r--r-- | foot-server.service.in | 1 | ||||
| -rw-r--r-- | foot-server.socket | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/foot-server.service.in b/foot-server.service.in index 47b81267..a9447253 100644 --- a/foot-server.service.in +++ b/foot-server.service.in @@ -8,6 +8,7 @@ Requires=%N.socket Description=Foot terminal server mode Documentation=man:foot(1) PartOf=graphical-session.target +After=graphical-session.target [Install] WantedBy=graphical-session.target diff --git a/foot-server.socket b/foot-server.socket index 997e4363..0c7c1b8f 100644 --- a/foot-server.socket +++ b/foot-server.socket @@ -3,6 +3,7 @@ ListenStream=%t/foot.sock [Unit] PartOf=graphical-session.target +After=graphical-session.target ConditionEnvironment=WAYLAND_DISPLAY [Install] |
