From: Hyuk Lee Date: Thu, 29 Mar 2018 05:41:31 +0000 (+0900) Subject: Assign the network_fw UID / GID to bluetooth share service X-Git-Tag: accepted/tizen/unified/20180403.182517^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fconnectivity%2Fbluetooth-tools.git;a=commitdiff_plain;h=8e13ef936f4296396a523e823352f26180bb85d2 Assign the network_fw UID / GID to bluetooth share service Change-Id: I5f6bfefa9fa86ac8d81c63564aa70c07ddbcecca Signed-off-by: Hyuk Lee --- diff --git a/packaging/bluetooth-share-start.service b/packaging/bluetooth-share-start.service index 4a46d01..372836e 100644 --- a/packaging/bluetooth-share-start.service +++ b/packaging/bluetooth-share-start.service @@ -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