Add the status check logic for BT enable / disable method
[platform/core/connectivity/bluetooth-frwk.git] / packaging / bluetooth-frwk-common.service
index 4523df9..4a8808c 100644 (file)
@@ -1,14 +1,16 @@
 [Unit]
-Description=Bluetooth service
-After=multi-user.target
+Description=Bluetooth framework
 
 [Service]
+User=network_fw
+Group=network_fw
+SmackProcessLabel=System
 Type=dbus
 BusName=org.projectx.bt
 ExecStart=/usr/bin/bt-service
-Restart=always
+Restart=on-failure
 RestartSec=1
 KillMode=process
 
 [Install]
-WantedBy=starter.target
+WantedBy=multi-user.target
\ No newline at end of file