From 68f9759a78935db01dbad34035e5fa2648ca1f71 Mon Sep 17 00:00:00 2001 From: Maxim Baz Date: Thu, 6 Aug 2020 22:52:23 +0200 Subject: [PATCH] systemd: ensure service is stopped on exit of graphical session --- contrib/systemd/xdg-desktop-portal-wlr.service.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/systemd/xdg-desktop-portal-wlr.service.in b/contrib/systemd/xdg-desktop-portal-wlr.service.in index d4a83c6..ed9fddc 100644 --- a/contrib/systemd/xdg-desktop-portal-wlr.service.in +++ b/contrib/systemd/xdg-desktop-portal-wlr.service.in @@ -1,5 +1,7 @@ [Unit] Description=Portal service (wlroots implementation) +PartOf=graphical-session.target +After=graphical-session.target [Service] Type=dbus