Modify the pid and gid of bt-service to network_fw
[platform/core/connectivity/bluetooth-frwk.git] / packaging / bluetooth-frwk-mobile-sprd.service
index 894980e..b4da83a 100644 (file)
@@ -1,17 +1,15 @@
 [Unit]
-Description=Bluetooth service
+Description=Bluetooth framework
 After=multi-user.target
 
 [Service]
-User=owner
-Group=users
+User=network_fw
+Group=network_fw
 SupplementaryGroups=priv_mediastorage priv_externalstorage
 Type=dbus
 BusName=org.projectx.bt
-SmackProcessLabel=User
 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