21 lines
420 B
SYSTEMD
21 lines
420 B
SYSTEMD
|
|
[Unit]
|
||
|
|
Description=Bluetooth service
|
||
|
|
Documentation=man:bluetoothd(8)
|
||
|
|
ConditionPathIsDirectory=/sys/class/bluetooth
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=dbus
|
||
|
|
BusName=org.bluez
|
||
|
|
ExecStart=/usr/lib/bluetooth/bluetoothd
|
||
|
|
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
|