diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-12-04 12:00:59 +0100 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2019-12-16 12:12:39 +0100 |
commit | 1b3afac6a3f2f7f64c155d424c132522f4987ac8 (patch) | |
tree | d5a02efc494bc96768372b6d0bba19e168098995 /conf/unit/service.inc | |
parent | b65d4e0061d77718ee6c04c6cd1d41f6940b5a03 (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/unit/service.inc')
-rw-r--r-- | conf/unit/service.inc | 10 |
1 files changed, 8 insertions, 2 deletions
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 - - |