You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.5 KiB

  1. Submitted By: Armin K. <krejzi at email dot com>
  2. Date: 2013-04-29
  3. Initial Package Version: 5.17
  4. Upstream Status: unknown
  5. Origin: Arch Linux (Giovanni Campagna)
  6. Description: Allow using obexd without systemd in the user session
  7. Not all sessions run systemd --user (actually, the majority
  8. doesn't), so the dbus daemon must be able to spawn obexd
  9. directly, and to do so it needs the full path of the daemon.
  10. ---
  11. Makefile.obexd | 4 ++--
  12. obexd/src/org.bluez.obex.service | 4 ----
  13. obexd/src/org.bluez.obex.service.in | 4 ++++
  14. 3 files changed, 6 insertions(+), 6 deletions(-)
  15. delete mode 100644 obexd/src/org.bluez.obex.service
  16. create mode 100644 obexd/src/org.bluez.obex.service.in
  17. --- a/Makefile.obexd
  18. +++ b/Makefile.obexd
  19. @@ -2,12 +2,12 @@
  20. if SYSTEMD
  21. systemduserunitdir = $(SYSTEMD_USERUNITDIR)
  22. systemduserunit_DATA = obexd/src/obex.service
  23. +endif
  24. dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
  25. dbussessionbus_DATA = obexd/src/org.bluez.obex.service
  26. -endif
  27. -EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
  28. +EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
  29. if OBEX
  30. --- a/obexd/src/org.bluez.obex.service
  31. +++ /dev/null
  32. @@ -1,4 +0,0 @@
  33. -[D-BUS Service]
  34. -Name=org.bluez.obex
  35. -Exec=/bin/false
  36. -SystemdService=dbus-org.bluez.obex.service
  37. --- /dev/null
  38. +++ b/obexd/src/org.bluez.obex.service.in
  39. @@ -0,0 +1,4 @@
  40. +[D-BUS Service]
  41. +Name=org.bluez.obex
  42. +Exec=@libexecdir@/obexd
  43. +SystemdService=dbus-org.bluez.obex.service