/usr/share/upstart/sessions/hud.conf is in hud 13.10.1+14.04.20140402-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 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | description "Unity HUD"
pre-start script
if [ -z $DBUS_SESSION_BUS_ADDRESS ]; then
echo "Working around missing DBUS_SESSION_BUS_ADDRESS variable"
printf "DuplicateSignature\0DBusSessionAddressNotSet" | /usr/share/apport/recoverable_problem -p `pidof -s -o 1 init`
. "${HOME}/.cache/upstart/dbus-session"
initctl set-env "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
fi
end script
# Currently started by the dbus service file
# start on dbus-activation com.canonical.hud
stop on desktop-end
start on started dbus and ((xsession SESSION=ubuntu-touch) or (xsession SESSION=ubuntu-touch-surfaceflinger) or (xsession SESSION=ubuntu))
env HUD_SERVICE_TIMEOUT=0
export HUD_SERVICE_TIMEOUT
pre-start script
if [ -z $DBUS_SESSION_BUS_ADDRESS ]; then
echo "Working around missing DBUS_SESSION_BUS_ADDRESS variable"
printf "DuplicateSignature\0DBusSessionAddressNotSet" | /usr/share/apport/recoverable_problem -p `pidof -s -o 1 init`
. "${HOME}/.cache/upstart/dbus-session"
initctl set-env "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS"
fi
end script
exec /usr/lib/x86_64-linux-gnu/hud/hud-service
|