core-admin/linux/systemd/qubes-core.service
Marek Marczykowski-Górecki 46cbb4a133
Prevent stopping xenconsoled before shutting down all the VMs
Otherwise still running VMs will hang, consuming 100% CPU.

QubesOS/qubes-issues#1425
2015-11-14 23:29:21 +01:00

17 lines
439 B
Desktop File

[Unit]
Description=Qubes Dom0 startup setup
After=qubes-db-dom0.service libvirtd.service xenconsoled.service
# Cover legacy init.d script
[Service]
Type=oneshot
StandardOutput=syslog
RemainAfterExit=yes
ExecStart=/usr/lib/qubes/startup-misc.sh
ExecStop=/usr/bin/qvm-shutdown -q --all --wait
[Install]
WantedBy=multi-user.target
Also=qubes-block-cleaner.service qubes-meminfo-writer.service qubes-qmemman.service
Alias=qubes_core.service