Blob: bluetooth-logger.service.in

Blob id: d6df676b86c4a7bbf3505213cf452f05fb61785f

Size: 359 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
[Unit]
Description=Bluetooth monitor logger
ConditionPathIsDirectory=/sys/class/bluetooth

[Service]
Type=simple
ExecStart=@PKGLIBEXECDIR@/btmon-logger -p -b /var/log/bluetooth/hci.log
NotifyAccess=main
CapabilityBoundingSet=CAP_NET_RAW
LimitNPROC=1
ProtectHome=true
ProtectSystem=full
PrivateTmp=true
PrivateDevices=true

[Install]
WantedBy=bluetooth.target