OSDN Git Service

systemd: Enable ProtectHome and ProtectSystem options
[android-x86/external-bluetooth-bluez.git] / src / bluetooth.service.in
1 [Unit]
2 Description=Bluetooth service
3 Documentation=man:bluetoothd(8)
4 ConditionPathIsDirectory=/sys/class/bluetooth
5
6 [Service]
7 Type=dbus
8 BusName=org.bluez
9 ExecStart=@libexecdir@/bluetoothd
10 NotifyAccess=main
11 #WatchdogSec=10
12 #Restart=on-failure
13 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
14 LimitNPROC=1
15 ProtectHome=true
16 ProtectSystem=full
17
18 [Install]
19 WantedBy=bluetooth.target
20 Alias=dbus-org.bluez.service