Update bluetoothd service capability

Add CAP_FOWNER for fix problem with save paired device into /storage/.cache/bluetooth/
This commit is contained in:
Wic 2022-01-02 13:16:39 +07:00 committed by GitHub
parent 0d1e2a6beb
commit e2dac9d3c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ NotifyAccess=main
EnvironmentFile=/storage/.cache/services/bluez.conf
EnvironmentFile=-/run/libreelec/debug/bluez.conf
ExecStart=/usr/lib/bluetooth/bluetoothd $BLUEZ_ARGS $BLUEZ_DEBUG
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_FOWNER
LimitNPROC=1
TimeoutStopSec=1s
Restart=on-failure