systemd: adjust qubes-prefs options
As the service is called as root, it needs --force-root. QubesOS/qubes-issues#2412
This commit is contained in:
parent
28d4feb0d0
commit
28475f7214
@ -9,7 +9,7 @@ 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'
|
||||
ExecStart=/bin/sh -c 'NETVM=`qubes-prefs --force-root default-netvm`; [ -n "$NETVM" ] && qvm-start -q --no-guid $NETVM'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user