mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2024-10-01 06:35:42 -04:00
18 lines
460 B
Desktop File
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
|