/usr/share/upstart/sessions/indicator-sound.override is in ubuntu-touch-session 0.108+16.04.20160407-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Ensure that Pulse is up before we are, which we unfortunately can't
# encode in start conditions because we might need to be started more
# than once where Pulse is only started once. This happens in the case
# of the wizard which starts and stops the indicators once and then
# unity restarts them
pre-start script
for num in $(seq 1 50); do
[ -S /run/user/`id -u`/pulse/dbus-socket ] && break
sleep 0.1
done
[ -S /run/user/`id -u`/pulse/dbus-socket ] || stop
end script
|