Qubes-VM-hardening/vm-boot-protect.service

20 lines
511 B
SYSTEMD
Raw Permalink Normal View History

2017-04-17 14:21:07 -04:00
[Unit]
2018-03-29 02:57:06 -04:00
Description=Protect Qubes VM execution environment at startup
Documentation=https://github.com/tasket/Qubes-VM-hardening
After=qubes-sysinit.service
Before=qubes-mount-dirs.service
DefaultDependencies=false
2018-03-29 23:52:43 -04:00
#OnFailure=rescue.target
#OnFailureJobMode=replace-irreversibly
2017-04-17 14:21:07 -04:00
[Service]
Type=oneshot
RemainAfterExit=no
2018-03-29 09:54:31 -04:00
# privdirs must begin with /rw
2018-03-29 23:52:43 -04:00
# Environment="privdirs=/rw/config /rw/usrlocal /rw/bind-dirs"
2018-03-29 02:57:06 -04:00
ExecStart=/usr/lib/qubes/init/vm-boot-protect.sh
2018-04-02 10:55:55 -04:00
Restart=no
2017-04-17 14:21:07 -04:00
[Install]
WantedBy=sysinit.target