summaryrefslogtreecommitdiff
path: root/tools/bluetooth-logger.service.in
blob: 00900273118fb02da8629147a79ed4f6c05f773a (plain)
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