summaryrefslogtreecommitdiff
path: root/dbus.service.in
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-06 19:40:59 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2017-11-07 13:19:35 +0100
commit327f1eee192a742a92e57345d25eda85cce630e6 (patch)
tree059667ec36f338bb0e00e058526ee50d01648802 /dbus.service.in
parentd1189c1bede6a6cd2b6e89dfe50d66fead49a47e (diff)
downloadgvfs-327f1eee192a742a92e57345d25eda85cce630e6.tar.gz
build: Make SystemdService entry conditional
When systemd user units installation is disabled, SystemdService entry should also not be present on D-Bus service files. This patch adds a common D-Bus service file template allowing, an homogeneus D-Bus service file generation and also a SystemService entry conditioned to the systemd user units installation option. https://bugzilla.gnome.org/show_bug.cgi?id=786149
Diffstat (limited to 'dbus.service.in')
-rw-r--r--dbus.service.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus.service.in b/dbus.service.in
new file mode 100644
index 00000000..9df76f5e
--- /dev/null
+++ b/dbus.service.in
@@ -0,0 +1,4 @@
+[D-BUS Service]
+Name=@service@
+Exec=@exec@
+@systemd_service@