Modify the bluez-start.service file 67/175167/1 accepted/tizen/unified/20180411.065608 submit/tizen/20180410.230750
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 9 Apr 2018 06:17:00 +0000 (15:17 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 9 Apr 2018 06:17:00 +0000 (15:17 +0900)
Change-Id: I7cd0dd4a9ffeb1718434ab486fe41070eab404a9
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
packaging/bluez-start.service

index 804a615..4b439e2 100644 (file)
@@ -1,12 +1,18 @@
 [Unit]
-Description=Service to run Bluetoothd normally
+Description=Bluetooth service (Bluez)
+Documentation=man:bluetoothd(8)
+After=multi-user.target
 
 [Service]
-Type=oneshot
+User=network_fw
+Group=network_fw
+Type=dbus
+BusName=org.bluez
+ExecStart=/usr/libexec/bluetooth/bluetoothd -d -C
+Capabilities=cap_net_admin,cap_net_bind_service,cap_dac_override=eip
+SecureBits=keep-caps
 SmackProcessLabel=System
-ExecStartPre=/usr/bin/rm -f /run/.bluez_start
-ExecStart=/usr/bin/systemctl start --no-block bluetooth.service
-RemainAfterExit=yes
-SuccessExitStatus=1
-StartLimitInterval=1
-StartLimitBurst=10
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target