projects
/
platform
/
core
/
connectivity
/
bluetooth-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change network_fw uid/gid from root for bluetooth-stack-up.service
[platform/core/connectivity/bluetooth-tools.git]
/
packaging
/
bluetooth-stack-up.service
diff --git
a/packaging/bluetooth-stack-up.service
b/packaging/bluetooth-stack-up.service
index
fe13beb
..
cc1daab
100644
(file)
--- a/
packaging/bluetooth-stack-up.service
+++ b/
packaging/bluetooth-stack-up.service
@@
-2,8
+2,12
@@
Description=Service to run bt-stack-up.sh script to start BT functions
[Service]
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
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
ExecStart=/usr/etc/bluetooth/bt-stack-up.sh
RemainAfterExit=yes