diff options
author | Julien Massot <jmassot@softbankrobotics.com> | 2017-07-20 09:11:32 +0200 |
---|---|---|
committer | Daniel Wagner <wagi@monom.org> | 2017-07-21 15:06:32 +0200 |
commit | e4ccd8d3a7cfbadd500f8e08686191d74a49f773 (patch) | |
tree | b161b1bad4d18378b13b58f12a71d7f324d5e81d | |
parent | dfe878bae251728dbfb083227477bd1c02b10155 (diff) | |
download | pacrunner-e4ccd8d3a7cfbadd500f8e08686191d74a49f773.tar.gz |
dbus: Rename D-Bus autostart service file name
The autostart file needs to match the service name according the D-Bus
specification [1]:
"""
The service filename of "org.me.test.service" is then searched for
in /usr/share/dbus-1/system-services or other specified directories.
"""
This fixes "Bus name not found in system service directory".
[1] https://dbus.freedesktop.org/doc/system-activation.txt
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/org.pacrunner.service.in (renamed from src/pacrunner.service.in) | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index dd231ef..a3f178c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,7 +8,7 @@ dbusconf_DATA = src/pacrunner.conf dbusdatadir = @DBUS_DATADIR@ -dbusdata_DATA = src/pacrunner.service +dbusdata_DATA = src/org.pacrunner.service endif gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/watch.c \ diff --git a/configure.ac b/configure.ac index c68adae..1577c86 100644 --- a/configure.ac +++ b/configure.ac @@ -150,4 +150,4 @@ AC_ARG_ENABLE(datafiles, AC_HELP_STRING([--disable-datafiles], [enable_datafiles=${enableval}]) AM_CONDITIONAL(DATAFILES, test "${enable_datafiles}" != "no") -AC_OUTPUT(Makefile src/pacrunner.service libproxy/libproxy-1.0.pc) +AC_OUTPUT(Makefile src/org.pacrunner.service libproxy/libproxy-1.0.pc) diff --git a/src/pacrunner.service.in b/src/org.pacrunner.service.in index eafd39d..eafd39d 100644 --- a/src/pacrunner.service.in +++ b/src/org.pacrunner.service.in |