mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-25 05:04:18 +08:00
Add dbus service file that references the systemd unit
This allows bluez to be bus-activated.
This commit is contained in:
parent
982ee6499b
commit
3481ed31ba
@ -30,8 +30,10 @@ AM_LDFLAGS = $(MISC_LDFLAGS)
|
||||
|
||||
if DATAFILES
|
||||
dbusdir = $(sysconfdir)/dbus-1/system.d
|
||||
dbusservicedir = $(datadir)/dbus-1/system-services
|
||||
|
||||
dbus_DATA = src/bluetooth.conf
|
||||
dbusservice_DATA = src/org.bluez.service
|
||||
|
||||
confdir = $(sysconfdir)/bluetooth
|
||||
|
||||
|
@ -8,3 +8,4 @@ ExecStart=@prefix@/sbin/bluetoothd -n
|
||||
|
||||
[Install]
|
||||
WantedBy=bluetooth.target
|
||||
Alias=dbus-org.bluez.service
|
||||
|
5
src/org.bluez.service
Normal file
5
src/org.bluez.service
Normal file
@ -0,0 +1,5 @@
|
||||
[D-BUS Service]
|
||||
Name=org.bluez
|
||||
Exec=/bin/false
|
||||
User=root
|
||||
SystemdService=dbus-org.bluez.service
|
Loading…
Reference in New Issue
Block a user