package/bluez5_utils: correct systemd service install
commit4a34ac240cd0f051cfe189125cc70c368b1774fe
authorMartin Bark <martin@barkynet.com>
Thu, 16 Jun 2016 17:15:38 +0000 (16 18:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Jun 2016 13:37:47 +0000 (18 15:37 +0200)
treebc0acf9372ba64747edc32b2756c26673094a707
parent80899ff982b5645839e6f00021276c69c531f9df
package/bluez5_utils: correct systemd service install

Commit d732fa4 add the BLUEZ5_UTILS_INSTALL_INIT_SYSTEMD rule, however,
it is not correct.  The [Install] section of bluetooth.service is as
follows:

 [Install]
 WantedBy=bluetooth.target
 Alias=dbus-org.bluez.service

hence there are currently two mistakes:
 1) bluetooth.service is wanted by bluetooth.target not multi-user.target
 2) dbus-org.bluez.service is a missing alias to bluetooth.service

This commit fixes both these issues.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/bluez5_utils/bluez5_utils.mk