qubes-core.service 659 B

123456789101112131415161718192021
  1. [Unit]
  2. Description=Qubes Dom0 startup setup
  3. After=qubes-db-dom0.service libvirtd.service xenconsoled.service
  4. # Cover legacy init.d script
  5. [Service]
  6. Type=oneshot
  7. StandardOutput=syslog
  8. RemainAfterExit=yes
  9. # Needed to avoid rebooting before all VMs have shut down.
  10. TimeoutStopSec=180
  11. ExecStart=/usr/lib/qubes/startup-misc.sh
  12. ExecStop=/usr/bin/qvm-shutdown -q --all --wait
  13. # QubesDB daemons stop after 60s timeout in worst case; speed it up, since no
  14. # VMs are running now
  15. ExecStop=-/usr/bin/killall qubesdb-daemon
  16. [Install]
  17. WantedBy=multi-user.target
  18. Also=qubes-block-cleaner.service qubes-meminfo-writer.service qubes-qmemman.service
  19. Alias=qubes_core.service