summaryrefslogtreecommitdiff
path: root/src/bluetooth.service.in
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-10 01:25:02 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-10 01:25:02 +0100
commitcc5455ef28bc83e1a9ac4c6aa865ca6541fd704a (patch)
tree842a37ebeaa8df6d6f49126b7b7bc9e216979bb4 /src/bluetooth.service.in
parent0ee79c66cbdd34d4243c002b81daecd39ee7472e (diff)
downloadbluez-cc5455ef28bc83e1a9ac4c6aa865ca6541fd704a.tar.gz
core: Set LimitNPROC and CapabilityBoundingSet options
Diffstat (limited to 'src/bluetooth.service.in')
-rw-r--r--src/bluetooth.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth.service.in b/src/bluetooth.service.in
index c8fd9c53d..78851196c 100644
--- a/src/bluetooth.service.in
+++ b/src/bluetooth.service.in
@@ -9,6 +9,8 @@ StandardOutput=null
NotifyAccess=main
#WatchdogSec=10
#Restart=on-failure
+CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
+LimitNPROC=1
[Install]
WantedBy=bluetooth.target