~seb128/hud/systemd-for-session

« back to all changes in this revision

Viewing changes to data/dbus-activation-hack.sh.in

  • Committer: Sebastien Bacher
  • Date: 2016-07-19 16:29:03 UTC
  • Revision ID: seb128@ubuntu.com-20160719162903-6ye0cv4hthyalgfy
Switch the user session to systemd. Remove the dbus activation hacks and
the upstart jobs since the only session using those the hud is unity 
which is the one migrating to systemd

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# This is a quick hack to make it so that DBus activation works as the
4
 
# DBus daemon holds onto the PID until the name gets registered.  So we
5
 
# need the PID to exist until then.  10 seconds should be more that enough
6
 
# time for the service to register the name.
7
 
#
8
 
# This can go away if we get DBus Activation for Upstart
9
 
 
10
 
if [ "x$UPSTART_SESSION" != "x" ]; then
11
 
        start hud
12
 
        sleep 10
13
 
else
14
 
        @pkglibexecdir@/hud-service
15
 
fi