Lakka-LibreELEC/packages/network/bluez/system.d/bluetooth.service
Wic e2dac9d3c8
Update bluetoothd service capability
Add CAP_FOWNER for fix problem with save paired device into /storage/.cache/bluetooth/
2022-01-02 13:16:39 +07:00

21 lines
573 B
Desktop File

[Unit]
Description=Bluetooth service
After=syslog.target bluetooth-defaults.service
Requires=bluetooth-defaults.service
ConditionPathExists=/storage/.cache/services/bluez.conf
[Service]
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 CAP_FOWNER
LimitNPROC=1
TimeoutStopSec=1s
Restart=on-failure
RestartSec=2
StartLimitInterval=0
[Install]
WantedBy=bluetooth.target