summaryrefslogtreecommitdiffstats
path: root/afm-api-supervisor.service
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-07-09 17:56:55 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-07-23 14:24:01 +0200
commitdaecef104cd2a6ac3e4436306e96ed48aea8271d (patch)
tree0115d25bc9476ba044b011802af9c3898e55bde2 /afm-api-supervisor.service
parent056c53da68eaa007a7bcabf77ef3205b6ff04ca1 (diff)
supervisor: Setup services for local API use
The supervisor only allowed external accesses. This was wrong, it must also allow local access through standard API. This commit fix it. Bug-AGL: SPEC-2660 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Change-Id: Ifa1119a6b2f22c87b1dbe087206d9f51c4005a57
Diffstat (limited to 'afm-api-supervisor.service')
-rw-r--r--afm-api-supervisor.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/afm-api-supervisor.service b/afm-api-supervisor.service
new file mode 100644
index 00000000..9c7f58b9
--- /dev/null
+++ b/afm-api-supervisor.service
@@ -0,0 +1,12 @@
+# afm-api-supervisor.service
+
+[Unit]
+Description=Service to start the API 'supervisor'
+
+Requires=afm-api-supervisor.socket
+After=afm-api-supervisor.socket
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/true