summaryrefslogtreecommitdiffstats
path: root/conf/unit/afm-unit-debug.conf.in
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-09-13 14:02:47 +0200
committerJose Bollo <jose.bollo@iot.bzh>2018-10-19 14:13:02 +0200
commit0e0ae553d3fe9e541eefa8bd61a580c721fe0e49 (patch)
tree6533877a8f7291ec88c9c593d0fd107bfb1755cf /conf/unit/afm-unit-debug.conf.in
parent24f0c203cc62f478b2759b184f1b4ed7a1c093ca (diff)
afm-unit.conf: Restrict service for APIs
Forbids exportation of service apis for apis that are not exported as 'ws' or 'auto'. Bug-AGL: SPEC-1650 Change-Id: I0681bdb0632d9f331036abc1ff1e1b2bb37933cd Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/afm-unit-debug.conf.in')
-rw-r--r--conf/unit/afm-unit-debug.conf.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/unit/afm-unit-debug.conf.in b/conf/unit/afm-unit-debug.conf.in
index f7e37a2..c812368 100644
--- a/conf/unit/afm-unit-debug.conf.in
+++ b/conf/unit/afm-unit-debug.conf.in
@@ -215,6 +215,7 @@ WantedBy=afm-user-session@.target
;---- P R O V I D E D A P I S ----
;-------------------------------------------------------------------------------
{{#provided-api}}
+{{#value=ws|auto}}
;-------------------------------------------------------------------------------
;---- T H E S E R V I C E O F T H E A P I ----
;-------------------------------------------------------------------------------
@@ -241,7 +242,6 @@ ExecStart=/bin/true
;-------------------------------------------------------------------------------
;---- T H E S O C K E T O F T H E A P I ----
;-------------------------------------------------------------------------------
-{{#value=ws|auto}}
%begin systemd-unit
# auto generated by wgtpkg-unit for {{:id}} version {{:version}} target {{:#target}} of {{:idaver}}
%systemd-unit system