All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v2] obexd: point DBUS service to obex.service directly
@ 2022-09-25 19:04 André W
  2022-09-25 19:56 ` [BlueZ,v2] " bluez.test.bot
  2022-09-26 17:50 ` [PATCH BlueZ v2] " Luiz Augusto von Dentz
  0 siblings, 2 replies; 3+ messages in thread
From: André W @ 2022-09-25 19:04 UTC (permalink / raw)
  To: linux-bluetooth

dbus-org.bluez.obex.service user service is not available until
obex.service is enabled in systemd. By pointing DBUS service directly
to obex.service, this step can be avoided. The [Alias] section in
systemd services then becomes unnecessary.
---
 obexd/src/obex.service.in        | 3 ---
 obexd/src/org.bluez.obex.service | 2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/obexd/src/obex.service.in b/obexd/src/obex.service.in
index fc0dce993..c3f822f55 100644
--- a/obexd/src/obex.service.in
+++ b/obexd/src/obex.service.in
@@ -5,6 +5,3 @@ Description=Bluetooth OBEX service
 Type=dbus
 BusName=org.bluez.obex
 ExecStart=@pkglibexecdir@/obexd
-
-[Install]
-Alias=dbus-org.bluez.obex.service
diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
index a53808884..c3917e415 100644
--- a/obexd/src/org.bluez.obex.service
+++ b/obexd/src/org.bluez.obex.service
@@ -1,4 +1,4 @@
 [D-BUS Service]
 Name=org.bluez.obex
 Exec=/bin/false
-SystemdService=dbus-org.bluez.obex.service
+SystemdService=obex.service
-- 
2.37.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-26 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-25 19:04 [PATCH BlueZ v2] obexd: point DBUS service to obex.service directly André W
2022-09-25 19:56 ` [BlueZ,v2] " bluez.test.bot
2022-09-26 17:50 ` [PATCH BlueZ v2] " Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.