Creates systemd service for APIs 57/15457/3
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 19 Jul 2018 09:29:36 +0000 (11:29 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 19 Jul 2018 13:38:29 +0000 (15:38 +0200)
commit8c7132a146aa744f167ea2fc45dcd8d53018ecc0
tree62bb28dc2831417d2406a30b4c8b38bd133b45bb
parentd8d819bcde18c8b4b5dfbdf610a6fc5e04fa54bf
Creates systemd service for APIs

Before this change, APIs were only provided as binder's
exported websockets. This forbade ability to use symbolic
links.

Allowing links is interesting for having platform sockets
and for linked api (not using socket).

The API afm-main is a platform API. It must run at system level
and must be available for all user clients. To achieve it, we
use a link.

Bug-AGL: SPEC-1592

Change-Id: I8753f83373755eb7fc2d2cc50251b8f738b61b03
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
conf/system/CMakeLists.txt
conf/system/afm-api-afm-main@.service.in [new file with mode: 0644]
conf/unit/afm-unit-debug.conf.in
conf/unit/afm-unit.conf.in
conf/unit/generate-unit-conf/afm-unit
conf/unit/generate-unit-conf/provided.inc
conf/unit/generate-unit-conf/service.inc