aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-02-14 16:55:38 +0100
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-02-14 16:55:38 +0100
commitcd9e5e1de8c711f4bfadd55ecc31f29ed806f3e0 (patch)
tree5b55a4628c84f53f5e96150750e6c8465c4d7e00 /data
parentfaa5982f956359d7aefd0713b9ea8458b1e837df (diff)
downloadayatana-indicator-printers-cd9e5e1de8c711f4bfadd55ecc31f29ed806f3e0.tar.gz
ayatana-indicator-printers-cd9e5e1de8c711f4bfadd55ecc31f29ed806f3e0.tar.bz2
ayatana-indicator-printers-cd9e5e1de8c711f4bfadd55ecc31f29ed806f3e0.zip
Add .service file for dbus-activation
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am11
-rw-r--r--data/indicator-printers.service.in3
2 files changed, 14 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..1ecc4e7
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,11 @@
+
+dbus_servicesdir = $(DBUSSERVICEDIR)
+dbus_services_DATA = indicator-printers.service
+
+%.service: %.service.in
+ sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@
+
+EXTRA_DIST = indicator-printers.service
+
+CLEANFILES = $(dbus_services_DATA)
+
diff --git a/data/indicator-printers.service.in b/data/indicator-printers.service.in
new file mode 100644
index 0000000..d89bcd2
--- /dev/null
+++ b/data/indicator-printers.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=com.canonical.indicator.printers
+Exec=@libexecdir@/indicator-printers-service