summaryrefslogtreecommitdiff
path: root/src/bluetooth.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth.service.in')
-rwxr-xr-xsrc/bluetooth.service.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in
index f799f65f..e41c2da4 100755
--- a/src/bluetooth.service.in
+++ b/src/bluetooth.service.in
@@ -1,20 +1,17 @@
[Unit]
Description=Bluetooth service
Documentation=man:bluetoothd(8)
-ConditionPathIsDirectory=/sys/class/bluetooth
[Service]
Type=dbus
BusName=org.bluez
-ExecStart=@libexecdir@/bluetoothd
+ExecStart=/usr/libexec/bluetooth/bluetoothd -d -C
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
+WantedBy=multi-user.target
Alias=dbus-org.bluez.service