diff options
-rw-r--r-- | .bzrignore | 1 | ||||
-rw-r--r-- | data/Makefile.am | 11 | ||||
-rw-r--r-- | data/indicator-session.conf.in | 15 |
3 files changed, 26 insertions, 1 deletions
@@ -253,3 +253,4 @@ dbus-display-manager.h dbus-user.c dbus-user.h tests/test-service +indicator-session.conf diff --git a/data/Makefile.am b/data/Makefile.am index 27b5ea2..69ac65d 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -9,6 +9,13 @@ dbus_services_DATA = $(service_in_files:.service.in=.service) %.service: %.service.in sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ +upstart_jobsdir = $(datadir)/upstart/sessions/ +upstart_jobs_in_files = indicator-session.conf.in +upstart_jobs_DATA = $(upstart_jobs_in_files:.conf.in=.conf) + +%.conf: %.conf.in + sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ + @INTLTOOL_SCHEMAS_RULE@ @INTLTOOL_XML_NOMERGE_RULE@ @@ -20,8 +27,10 @@ dist_convert_DATA = indicator-session.convert EXTRA_DIST = \ $(service_in_files) \ + $(upstart_jobs_in_files) \ $(gsettings_SCHEMAS:.xml=.xml.in) CLEANFILES = \ - $(dbus_services_DATA) \ + $(dbus_services_DATA) \ + $(upstart_jobs_DATA) \ $(gsettings_SCHEMAS) diff --git a/data/indicator-session.conf.in b/data/indicator-session.conf.in new file mode 100644 index 0000000..3a512df --- /dev/null +++ b/data/indicator-session.conf.in @@ -0,0 +1,15 @@ +description "Indicator Session Service" +author "Ted Gould <ted@canonical.com>" + +# 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 and xsession SESSION=ubuntu +stop on desktop-end + +env G_MESSAGES_DEBUG=all +export G_MESSAGES_DEBUG + +respawn + +exec @libexecdir@/indicator-session-service |