diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-11-21 08:13:08 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-11-25 09:11:18 +0100 |
commit | dd5d5bf23b4e9777571aee8bd7495f25dbd36c83 (patch) | |
tree | ae27465b56b5e74be0c6c1e8d4d3be0aec76c590 /whatmaps | |
parent | 48651cda01095017ddc5e67a2491c02a44027ab5 (diff) |
Exempt display managers from the list of restartet services
Diffstat (limited to 'whatmaps')
-rw-r--r-- | whatmaps/debiandistro.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |