fix: Treeland does not exit when logging out of session
only treeland-session-shutdown.service can be clean TREELAND_RUN_MODE. treeland-session-shutdown.service need TREELAND_RUN_MODE env, but environment unset before treeland service stop. Log:
This commit is contained in:
parent
b9d8d7a756
commit
da8cf4ad11
|
|
@ -28,7 +28,6 @@ UnsetEnvironment=WAYLAND_DISPLAY
|
|||
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/treeland
|
||||
ExecStartPost=-/usr/bin/systemctl --user set-environment XDG_SESSION_DESKTOP=Treeland
|
||||
ExecStop=-/usr/bin/systemctl --user unset-environment XDG_SESSION_DESKTOP
|
||||
ExecStop=-/usr/bin/systemctl --user unset-environment TREELAND_RUN_MODE
|
||||
Slice=session.slice
|
||||
Restart=on-failure
|
||||
RestartSec=1s
|
||||
|
|
|
|||
Loading…
Reference in New Issue