summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-12-04 12:00:59 +0100
committerJose Bollo <jose.bollo@iot.bzh>2019-12-16 12:12:39 +0100
commit1b3afac6a3f2f7f64c155d424c132522f4987ac8 (patch)
treed5a02efc494bc96768372b6d0bba19e168098995 /conf
parentb65d4e0061d77718ee6c04c6cd1d41f6940b5a03 (diff)
Introduce widget type application/vnd.agl.resource
The widget type application/vnd.agl.resource doesn't brings service. It can be used to provide a binding to the system. Bug-AGL: SPEC-3057 Bug-AGL: SPEC-1663 Change-Id: I5c900865b8eeec494953942c8069dfefe254a85c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf')
-rw-r--r--conf/system/afm-system-setup.sh.in1
-rw-r--r--conf/unit/service.inc10
2 files changed, 9 insertions, 2 deletions
diff --git a/conf/system/afm-system-setup.sh.in b/conf/system/afm-system-setup.sh.in
index c3f827e..b7a3c5d 100644
--- a/conf/system/afm-system-setup.sh.in
+++ b/conf/system/afm-system-setup.sh.in
@@ -13,6 +13,7 @@ dodir $pdir
dodir $pdir/display
dodir $pdir/apis
dodir $pdir/apis/ws
+dodir $pdir/apis/link
@create_platform_debug@
spdir=@afm_scope_platform_dir@
diff --git a/conf/unit/service.inc b/conf/unit/service.inc
index 0036cae..a520e3b 100644
--- a/conf/unit/service.inc
+++ b/conf/unit/service.inc
@@ -146,6 +146,14 @@ include(binder.inc)
ExecStart={{:#metadata.install-dir}}/{{content.src}}
{{/content.type=application/x-executable}}
+;-------------------------------------------------------------------------------
+;---- application/vnd.agl.resource ----
+;-------------------------------------------------------------------------------
+{{#content.type=application/vnd.agl.resource}}
+Type=oneshot
+ExecStart=/bin/true
+{{/content.type=application/vnd.agl.resource}}
+
IF_PERM(:system:run-by-default)
;-------------------------------------------------------------------------------
; auto start
@@ -161,5 +169,3 @@ ENDIF
ENDIF
%end systemd-unit
-
-