core-admin/linux/systemd/qubes-vm@.service
Marek Marczykowski-Górecki 3766413dea
Do not require all the autostart VMs to run before user login
Allow user login while some VMs are still starting. This improves UX of
the system startup, since user can start using the system earlier.

Fixes QubesOS/qubes-issues#3149
2021-05-04 04:00:16 +02:00

15 lines
308 B
Desktop File

[Unit]
Description=Start Qubes VM %i
After=qubesd.service qubes-meminfo-writer-dom0.service
ConditionKernelCommandLine=!qubes.skip_autostart
[Service]
Type=oneshot
Environment=DISPLAY=:0
ExecStart=/usr/bin/qvm-start --skip-if-running %i
Group=qubes
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target