From 13e1544b396a5212e82b940e420a1cd44d8aa24b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 11 Nov 2015 05:58:50 +0100 Subject: Fork from Ubuntu's indicator-application code project. --- data/ayatana-indicator-application.conf.in | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 data/ayatana-indicator-application.conf.in (limited to 'data/ayatana-indicator-application.conf.in') diff --git a/data/ayatana-indicator-application.conf.in b/data/ayatana-indicator-application.conf.in new file mode 100644 index 0000000..07a7d05 --- /dev/null +++ b/data/ayatana-indicator-application.conf.in @@ -0,0 +1,22 @@ +description "Indicator Application Service" + +start on indicator-services-start +stop on desktop-end or indicator-services-end + +emits appindicators-start appindicators-end + +respawn +respawn limit 2 10 + +pre-start script + # NOTE: Limiting only to Unity 7 right now as it's still using + # dbusmenu. That can be lifted after it is ported to GMenu + + if [ "x$DESKTOP_SESSION" = "xubuntu-touch" ] ; then + stop; exit 0 + fi +end script + +exec @pkglibexecdir@/indicator-application-service + +pre-stop exec initctl emit appindicators-end -- cgit v1.2.3