aboutsummaryrefslogtreecommitdiff
path: root/data/indicator-application.conf.in
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-10-31 17:57:31 +0000
committerTarmac <Unknown>2013-10-31 17:57:31 +0000
commitf2ce0ee87fb8191e4fc07766f23d10badd2ec775 (patch)
tree76335695257cf5128fcfdd2a86543c657a8c1a84 /data/indicator-application.conf.in
parentda34f0cbe9eb05dcaf25fc0a502b4ae15d40ae27 (diff)
parent96efd3b86974e72d1c23a328e6892cacefc79e8c (diff)
downloadayatana-indicator-application-f2ce0ee87fb8191e4fc07766f23d10badd2ec775.tar.gz
ayatana-indicator-application-f2ce0ee87fb8191e4fc07766f23d10badd2ec775.tar.bz2
ayatana-indicator-application-f2ce0ee87fb8191e4fc07766f23d10badd2ec775.zip
Switch indicator application over to having an upstart job for managing the service. Also make it emit it's own event for when application indicators should be started so we can clean up the boot sequence. Fixes: https://bugs.launchpad.net/bugs/1185565.
Approved by PS Jenkins bot, Charles Kerr.
Diffstat (limited to 'data/indicator-application.conf.in')
-rw-r--r--data/indicator-application.conf.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/indicator-application.conf.in b/data/indicator-application.conf.in
new file mode 100644
index 0000000..ddc803c
--- /dev/null
+++ b/data/indicator-application.conf.in
@@ -0,0 +1,15 @@
+description "Indicator Application Service"
+
+# NOTE: Limiting only to Unity 7 right now as it's still using
+# dbusmenu. That can be lifted after it is ported to GMenu
+
+start on (indicators-loaded or indicator-services-start) and xsession SESSION=ubuntu
+stop on desktop-end or indicator-services-end
+
+emits appindicators-start appindicators-end
+
+respawn
+
+exec @libexecdir@/indicator-application-service
+
+pre-stop exec initctl emit appindicators-end