2013-01-27 00:04:40 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Qubes NetVM startup
|
2015-02-02 04:49:56 +01:00
|
|
|
After=qubes-core.service qubes-qmemman.service libvirtd.service
|
2013-01-27 00:04:40 +01:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
Group=qubes
|
|
|
|
Environment=DISPLAY=:0
|
|
|
|
RemainAfterExit=yes
|
|
|
|
KillMode=none
|
|
|
|
ExecStart=/bin/sh -c 'NETVM=`qubes-prefs --get default-netvm`; [ -n "$NETVM" ] && qvm-start -q --no-guid $NETVM'
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
# Cover legacy init.d script
|
|
|
|
Alias=qubes_netvm.service
|