SPEC-3723: restructure meta-agl-demo
[AGL/meta-agl-demo.git] / recipes-connectivity / bluez5 / bluez5 / bluetooth.service
1 [Unit]
2 Description=Bluetooth service
3 Documentation=man:bluetoothd(8)
4 ConditionPathIsDirectory=/sys/class/bluetooth
5
6 [Service]
7 Type=dbus
8 BusName=org.bluez
9 ExecStartPre=-/usr/bin/hciconfig hci0 aclmtu 930:10
10 ExecStart=/usr/libexec/bluetooth/bluetoothd
11 NotifyAccess=main
12 #WatchdogSec=10
13 #Restart=on-failure
14 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
15 LimitNPROC=1
16 ProtectHome=true
17 ProtectSystem=full
18
19 [Install]
20 WantedBy=bluetooth.target
21 Alias=dbus-org.bluez.service