~ci-train-bot/indicator-application/indicator-application-ubuntu-xenial-2391

« back to all changes in this revision

Viewing changes to data/indicator-application.conf.in

  • Committer: CI bot
  • Author(s): Ted Gould
  • Date: 2014-04-07 13:39:36 UTC
  • mfrom: (245.1.13 startup-cleanup)
  • Revision ID: ps-jenkins@lists.canonical.com-20140407133936-dt4o1w3rz3fj5vc9
Fix the upstart job and desktop config for GNOME2 Fixes: 1302123

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
description "Indicator Application Service"
2
2
 
3
 
# NOTE: Limiting only to Unity 7 right now as it's still using
4
 
# dbusmenu.  That can be lifted after it is ported to GMenu
5
 
 
6
 
start on indicator-services-start and xsession SESSION=ubuntu
 
3
start on indicator-services-start
7
4
stop on desktop-end or indicator-services-end
8
5
 
9
6
emits appindicators-start appindicators-end
11
8
respawn
12
9
respawn limit 2 10
13
10
 
 
11
pre-start script
 
12
        # NOTE: Limiting only to Unity 7 right now as it's still using
 
13
        # dbusmenu.  That can be lifted after it is ported to GMenu
 
14
 
 
15
        if [ "x$DESKTOP_SESSION" = "xubuntu-touch" ] ; then
 
16
                stop; exit 0
 
17
        fi
 
18
end script
 
19
 
14
20
exec @pkglibexecdir@/indicator-application-service
15
21
 
16
22
pre-stop exec initctl emit appindicators-end