From 8dfdc2150eed84c3016fd77c6f4fa1a54bfbc4fb Mon Sep 17 00:00:00 2001 From: tasket Date: Thu, 20 Apr 2017 19:20:25 -0400 Subject: [PATCH] Update vm-sudo-protect.service Should allow service to run without interference. Now supported as Qubes service `vm-sudo-protect`. --- lib/systemd/system/vm-sudo-protect.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/systemd/system/vm-sudo-protect.service b/lib/systemd/system/vm-sudo-protect.service index 5fdaf93..b254c6b 100644 --- a/lib/systemd/system/vm-sudo-protect.service +++ b/lib/systemd/system/vm-sudo-protect.service @@ -1,7 +1,7 @@ [Unit] Description=Script protections to enhance vm-sudo -After=qubes-db.service -Before=qubes-mount-dirs.service +After=qubes-sysinit.service +ConditionPathExists=/var/run/qubes-service/vm-sudo-protect [Service] Type=oneshot @@ -9,4 +9,4 @@ RemainAfterExit=no ExecStart=/usr/lib/qubes/init/vm-sudo-protect.sh [Install] -WantedBy=multi-user.target +WantedBy=sysinit.target