Re: [PATCH BlueZ v2] obexd: point DBUS service to obex.service directly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi André,

On Sun, Sep 25, 2022 at 12:08 PM André W <beppe85@xxxxxxxxx> wrote:
>
> 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.

Can we have some more details here, perhaps quote the systemd
documentation if it states why the Alias is not necessary, also does
this affect how the service is activated? Afaik the dbus- suffix was
used to inform that this service starts a D-Bus name.

> ---
>  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



-- 
Luiz Augusto von Dentz




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux