1
0
forked from pool/virtualbox

Resolve wrong placement of ExecCondition

/usr/lib/systemd/system/vboxclient.service: Unknown key 'ExecCondition' in section [Unit]

References: https://bugzilla.opensuse.org/1234870
This commit is contained in:
Jan Engelhardt 2025-01-03 01:25:33 +01:00
parent 46dc19ce6d
commit 98fd308b06
2 changed files with 7 additions and 1 deletions

View File

@ -1,10 +1,10 @@
[Unit]
Description=VirtualBox guest VMSVGA resize client
ConditionVirtualization=|oracle
ExecCondition=sh -c '[[ "$XDG_SESSION_TYPE" == "wayland" ]] || exit -1'
[Service]
Type=simple
ExecCondition=sh -c '[ "$XDG_SESSION_TYPE" = "wayland" ] || exit -1'
ExecStart=/usr/bin/VBoxDRMClient
Restart=on-failure

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 3 00:37:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Resolve wrong placement of ExecCondition= directive.
[boo#1234870]
-------------------------------------------------------------------
Sun Dec 29 22:25:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>