I need use something to query /usr/bin/pulseaudio and to ask it if it is fully initialized. ?Right now, starting xbmc in stand-alone mode through a systemd service causes xbmc to start before pulse-audio is fully initialized which results in xbmc not being able to see all of the audio devices on the system. ?Can someone suggest a method that will basically return an exit code of 0 when PA is initialized and a non-0 code when it is not ready? More context: The main line in the systemd service file just starts up xinit via dbus-launch and loads up xbmc-standalone on a new tty: ? ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc-standalone -- :0 -nolisten tcp vt7 /usr/bin/xbmc-standalone is just a wrapper script that basically does this: ? /usr/bin/start-pulseaudio-x11 ? /usr/bin/xbmc --standalone Thank you in advance for the suggestions! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140812/0aed7ee8/attachment.html>