Add bt-stack-up.service and modify bt-stack-down.service
[platform/core/connectivity/bluetooth-tools.git] / packaging / bluetooth-stack-down.service
index 9f9d29d..1a46d52 100644 (file)
@@ -2,10 +2,9 @@
 Description=Service to run bt-stack-down.sh script to terminate BT functions
 
 [Service]
-User=network_fw
-Group=network_fw
 Type=oneshot
 SmackProcessLabel=System
 SecureBits=keep-caps
 Capabilities=cap_kill=i
 ExecStart=/usr/etc/bluetooth/bt-stack-down.sh
+ExecStartPost=/usr/bin/systemctl stop bluetooth-stack-up