From dd5d5bf23b4e9777571aee8bd7495f25dbd36c83 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 21 Nov 2016 08:13:08 +0100 Subject: Exempt display managers from the list of restartet services --- whatmaps/debiandistro.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'whatmaps/debiandistro.py') diff --git a/whatmaps/debiandistro.py b/whatmaps/debiandistro.py index 4fcce54..a85d9cd 100644 --- a/whatmaps/debiandistro.py +++ b/whatmaps/debiandistro.py @@ -63,8 +63,9 @@ class DebianDistro(Distro): service_blacklist = set(['kvm', 'qemu-kvm', 'qemu-system-x86']) # Per distro regex filter - service_blacklist_re = set([ - '^user@[0-9]+.service$', # Restarting systemd user service aborts the session + service_blacklist_re = set([ # Restarting these aborts the users session + '^user@[0-9]+.service$', + "^(g|k|light|no|sd|w|x)dm(.service)?$", ]) @classmethod -- cgit v1.2.3