qubes-netvm.service 431 B

1234567891011121314151617
  1. [Unit]
  2. Description=Qubes NetVM startup
  3. After=qubes-core.service qubes-qmemman.service libvirtd.service
  4. Before=plymouth-quit.service
  5. [Service]
  6. Type=oneshot
  7. Group=qubes
  8. Environment=DISPLAY=:0
  9. RemainAfterExit=yes
  10. KillMode=none
  11. ExecStart=/bin/sh -c 'NETVM=`qubes-prefs --get default-netvm`; [ -n "$NETVM" ] && qvm-start -q --no-guid $NETVM'
  12. [Install]
  13. WantedBy=multi-user.target
  14. # Cover legacy init.d script
  15. Alias=qubes_netvm.service