Assign the network_fw UID / GID to bluetooth share service
[platform/core/connectivity/bluetooth-tools.git] / packaging / bluetooth-share-start.service
index 4a46d01..372836e 100644 (file)
@@ -2,10 +2,13 @@
 Description=Service to run bluetooth-share normally
 
 [Service]
+User=network_fw
+Group=network_fw
 Type=oneshot
 SmackProcessLabel=System
+SupplementaryGroups=priv_mediastorage priv_externalstorage
 ExecStartPre=/usr/bin/rm -f /run/.bluetooth_share_start
-ExecStart=/usr/bin/systemctl start --no-block bluetooth-share.service
+ExecStart=/usr/bin/bluetooth-share
 RemainAfterExit=no
 SuccessExitStatus=1
 StartLimitInterval=1