diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2018-09-13 14:02:47 +0200 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2018-10-19 14:13:02 +0200 |
commit | 0e0ae553d3fe9e541eefa8bd61a580c721fe0e49 (patch) | |
tree | 6533877a8f7291ec88c9c593d0fd107bfb1755cf /conf/unit/generate-unit-conf/provided-api.inc | |
parent | 24f0c203cc62f478b2759b184f1b4ed7a1c093ca (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/generate-unit-conf/provided-api.inc')
-rw-r--r-- | conf/unit/generate-unit-conf/provided-api.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/unit/generate-unit-conf/provided-api.inc b/conf/unit/generate-unit-conf/provided-api.inc index 8a667a9..eb04181 100644 --- a/conf/unit/generate-unit-conf/provided-api.inc +++ b/conf/unit/generate-unit-conf/provided-api.inc @@ -4,6 +4,7 @@ dnl vim: set filetype=sysctl.conf.m4 syntax=sysctl.conf.m4: ;------------------------------------------------------------------------------- {{#provided-api}} +{{#value=ws|auto}} ;------------------------------------------------------------------------------- ;---- T H E S E R V I C E O F T H E A P I ---- @@ -40,7 +41,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 |