core-admin/linux/systemd/qubes-vm@.service
Marek Marczykowski-Górecki a30e8d1f33
systemd: fix starting VMs _before_ allowing user login
systemd-user-sessions.service is specicically for that, do not use hack
(plymouth-quit.service), which doesn't work when the service is
disabled.

Fixes QubesOS/qubes-issues#1250
2015-12-23 19:08:01 +01:00

15 lines
259 B
Desktop File

[Unit]
Description=Start Qubes VM %i
After=qubes-netvm.service
Before=systemd-user-sessions.service
[Service]
Type=oneshot
Environment=DISPLAY=:0
ExecStart=/usr/bin/qvm-start --no-guid %i
Group=qubes
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target