# Currently started by the dbus service file
# start on dbus-activation com.canonical.hud
description "Unity HUD"
start on started dbus and ((xsession SESSION=ubuntu-touch) or (xsession SESSION=ubuntu-touch-surfaceflinger) or (xsession SESSION=ubuntu))
stop on desktop-end
below a a fixed version:
--- snip ---
# Currently started by the dbus service file
# start on dbus-activation com.canonical.hud
description "Unity HUD"
start on started dbus and ((xsession SESSION= ubuntu- touch) or (xsession SESSION= ubuntu- touch-surfacefl inger) or (xsession SESSION=ubuntu))
stop on desktop-end
env HUD_SERVICE_ TIMEOUT= 0
export HUD_SERVICE_TIMEOUT
pre-start script BUS_ADDRESS ]; then BUS_ADDRESS variable" ture\0DBusSessi onAddressNotSet " | /usr/share/ apport/ recoverable_ problem -p `pidof -s -o 1 init` /.cache/ upstart/ dbus-session" BUS_ADDRESS= $DBUS_SESSION_ BUS_ADDRESS"
if [ -z $DBUS_SESSION_
echo "Working around missing DBUS_SESSION_
printf "DuplicateSigna
. "${HOME}
initctl set-env "DBUS_SESSION_
fi
end script
exec /usr/lib/ arm-linux- gnueabihf/ hud/hud- service