Launch realm when PulseAudio and Wayland sockets are ready

This commit is contained in:
Bruce Leidl 2024-05-08 11:08:06 -04:00
parent f620c9c280
commit 26524e09ce
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
[Unit]
Description=Wait for creation of /run/user/1000/pulse/native
Description=Wait for creation of PA and Wayland sockets before launching first realm.
[Path]
PathChanged=/run/user/1000/pulse/native
PathChanged=/run/user/1000/wayland-0

View File

@ -2,6 +2,8 @@
Description=Launch default realm
ConditionPathExists=!/run/realms
ConditionPathExists=/realms/default.realm
ConditionPathExists=/run/user/1000/pulse/native
ConditionPathExists=/run/user/1000/wayland-0
[Service]