mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2024-10-01 06:35:42 -04:00
20 lines
598 B
Desktop File
20 lines
598 B
Desktop File
[Unit]
|
|
Description=Protect Qubes VM execution environment at startup
|
|
After=qubes-sysinit.service
|
|
Before=qubes-mount-dirs.service
|
|
ConditionPathExists=|/var/run/qubes-service/vm-boot-protect
|
|
ConditionPathExists=|/var/run/qubes-service/vm-boot-protect-root
|
|
ConditionPathExists=|/var/run/qubes-service/vm-boot-protect-cli
|
|
DefaultDependencies=false
|
|
OnFailure=shutdown.target
|
|
OnFailureJobMode=replace-irreversibly
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=no
|
|
#Environment="privdirs=/rw/config /rw/usrlocal /rw/bind-dirs"
|
|
ExecStart=/usr/lib/qubes/init/vm-boot-protect.sh
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|