Qubes-VM-hardening/lib/systemd/system/vm-sudo-protect.service
Christopher Laprise e54a10ea51
Fixes for testing.
2017-05-09 19:02:54 -04:00

18 lines
460 B
Desktop File

[Unit]
Description=Script protections to enhance vm-sudo
After=qubes-sysinit.service
Before=qubes-mount-dirs.service
ConditionPathExists=|/var/run/qubes-service/vm-sudo-protect
ConditionPathExists=|/var/run/qubes-service/vm-sudo-protect-root
DefaultDependencies=false
OnFailure=shutdown.target
OnFailureJobMode=replace-irreversibly
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/usr/lib/qubes/init/vm-sudo-protect.sh
[Install]
WantedBy=sysinit.target