Change network_fw uid/gid from root for bluetooth-stack-up.service
[platform/core/connectivity/bluetooth-tools.git] / packaging / bluetooth-stack-up.service
index fe13beb..cc1daab 100644 (file)
@@ -2,8 +2,12 @@
 Description=Service to run bt-stack-up.sh script to start BT functions
 
 [Service]
+User=network_fw
+Group=network_fw
 Type=oneshot
 SupplementaryGroups=priv_mediastorage priv_externalstorage dialout
+Capabilities=cap_sys_module=i
+SecureBits=keep-caps
 ExecStart=/usr/etc/bluetooth/bt-stack-up.sh
 RemainAfterExit=yes