aboutsummaryrefslogtreecommitdiffstats
path: root/conf/unit/afm-unit-debug.conf.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-02-27 19:32:15 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2018-02-28 20:10:46 +0100
commita44174a09215e7b4dd56084662cc2a068404ffea (patch)
tree4c18b4c3de9dae2ff6765a65325f8ac964a74ad8 /conf/unit/afm-unit-debug.conf.in
parentb5c4862abfe8d72efa094ee498c50a7af8a2830b (diff)
provided.inc: Fix smack label of sockets
Change-Id: I53d3cac7136e4d169acd8e3e3de5ea8439dd0192 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/afm-unit-debug.conf.in')
-rw-r--r--conf/unit/afm-unit-debug.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/unit/afm-unit-debug.conf.in b/conf/unit/afm-unit-debug.conf.in
index ee6b69b..ba42ea4 100644
--- a/conf/unit/afm-unit-debug.conf.in
+++ b/conf/unit/afm-unit-debug.conf.in
@@ -215,8 +215,8 @@ After=user@%i.service
DefaultDependencies=no
[Socket]
SmackLabel=*
-SmackLabelIPIn=*
-SmackLabelIPOut=*
+SmackLabelIPIn=System
+SmackLabelIPOut=System
ListenStream=@afm_users_rundir@/%i/apis/ws/{{name}}
FileDescriptorName={{name}}
Service=afm-{{#required-permission.urn:AGL:permission::public:hidden}}service{{/required-permission.urn:AGL:permission::public:hidden}}{{^required-permission.urn:AGL:permission::public:hidden}}appli{{/required-permission.urn:AGL:permission::public:hidden}}-{{:id}}--{{:ver}}--{{:#target}}@%i.service