Skip to content

Commit a7fe16b

Browse files
committed
Cleanup Wayland sockets on logout
1 parent 59a0c40 commit a7fe16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/[email protected]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Type=notify
2222
ExecStart=@bindir@/gala
2323

2424
# unset some environment variables that were set by the compositor and won't work now that the compositor is gone
25-
ExecStopPost=-/bin/sh -c 'test "$SERVICE_RESULT" != "exec-condition" && systemctl --user unset-environment GNOME_SETUP_DISPLAY WAYLAND_DISPLAY DISPLAY XAUTHORITY'
25+
ExecStopPost=-/bin/sh -c 'test "$SERVICE_RESULT" != "exec-condition" && systemctl --user unset-environment GNOME_SETUP_DISPLAY WAYLAND_DISPLAY DISPLAY XAUTHORITY && rm -f "$XDG_RUNTIME_DIR/wayland-0" "$XDG_RUNTIME_DIR/wayland-0.lock"'
2626

2727
# On wayland we cannot restart
2828
Restart=no

0 commit comments

Comments
 (0)