contrib/systemd: add ConditionEnvironment
This makes it clear xdpw requires WAYLAND_DISPLAY to be set before being started. Inspired by the mako service [1]. [1]: https://github.com/emersion/mako/blob/master/contrib/systemd/mako.service
This commit is contained in:
parent
884a2e808e
commit
efcbcb60aa
|
@ -2,6 +2,7 @@
|
|||
Description=Portal service (wlroots implementation)
|
||||
PartOf=graphical-session.target
|
||||
After=graphical-session.target
|
||||
ConditionEnvironment=WAYLAND_DISPLAY
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
|
|
Loading…
Reference in New Issue