diff options
Diffstat (limited to 'recipes-connectivity/bluez/files')
-rw-r--r-- | recipes-connectivity/bluez/files/bluetooth.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes-connectivity/bluez/files/bluetooth.service b/recipes-connectivity/bluez/files/bluetooth.service new file mode 100644 index 0000000..af693f9 --- /dev/null +++ b/recipes-connectivity/bluez/files/bluetooth.service @@ -0,0 +1,20 @@ +[Unit] +Description=Bluetooth service +Documentation=man:bluetoothd(8) +ConditionPathIsDirectory=/sys/class/bluetooth + +[Service] +Type=dbus +BusName=org.bluez +ExecStart=/usr/libexec/bluetooth/bluetoothd --compat +NotifyAccess=main +#WatchdogSec=10 +#Restart=on-failure +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +LimitNPROC=1 +ProtectHome=true +ProtectSystem=full + +[Install] +WantedBy=bluetooth.target +Alias=dbus-org.bluez.service |