2017-04-17 14:21:07 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Script protections to enhance vm-sudo
|
2017-04-20 19:20:25 -04:00
|
|
|
After=qubes-sysinit.service
|
2017-04-21 11:26:55 -04:00
|
|
|
Before=qubes-mount-dirs.service
|
2017-04-20 19:35:53 -04:00
|
|
|
ConditionPathExists=|/var/run/qubes-service/vm-sudo-protect
|
|
|
|
ConditionPathExists=|/var/run/qubes-service/vm-sudo-protect-root
|
2017-04-21 11:26:55 -04:00
|
|
|
DefaultDependencies=false
|
2017-05-09 19:02:54 -04:00
|
|
|
OnFailure=shutdown.target
|
|
|
|
OnFailureJobMode=replace-irreversibly
|
2017-04-17 14:21:07 -04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=no
|
|
|
|
ExecStart=/usr/lib/qubes/init/vm-sudo-protect.sh
|
|
|
|
|
|
|
|
[Install]
|
2017-04-20 19:20:25 -04:00
|
|
|
WantedBy=sysinit.target
|