Adjust the event generation timing for BT enabled / disabled
[platform/core/connectivity/bluetooth-frwk.git] / packaging / bluetooth-frwk-mobile-sprd.service
index 1c65e91..fe84c39 100644 (file)
@@ -1,17 +1,17 @@
 [Unit]
 Description=Bluetooth framework
-After=multi-user.target
+After=wifi-ready.service
 
 [Service]
-User=owner
-Group=users
+User=network_fw
+Group=network_fw
+SmackProcessLabel=System
 SupplementaryGroups=priv_mediastorage priv_externalstorage
 Type=dbus
 BusName=org.projectx.bt
-SmackProcessLabel=User
+ExecStartPre=/bin/sleep 2
 ExecStart=/usr/bin/bt-service
 KillMode=process
-Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/5001/dbus/user_bus_socket
 
 [Install]
 WantedBy=multi-user.target