summaryrefslogtreecommitdiffstats
path: root/conf/unit/afm-unit-debug.conf.in
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-03-28 11:36:05 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-28 11:40:26 +0100
commit20bf07791d69cd25b73139379ccb8947c5f1b2f7 (patch)
tree9b785db9268f21303cb7a7e227a598cadc0e8763 /conf/unit/afm-unit-debug.conf.in
parent3476b426fb3443ff909f8d607934e59601c7d508 (diff)
afm-unit.conf: Add widget specific environment
This change allow to set environment specific to a widget in ${afm_confdir}/widget.env.d/ID/* files where ID is the ID of the widget. Setting specific environment for a given widget was not possible (except in devel/debug) before. Change-Id: I8ef9349fda9adb8eecf330ce97cc7ebcd21bf399 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/afm-unit-debug.conf.in')
-rw-r--r--conf/unit/afm-unit-debug.conf.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/unit/afm-unit-debug.conf.in b/conf/unit/afm-unit-debug.conf.in
index 0042d3e..9821e9f 100644
--- a/conf/unit/afm-unit-debug.conf.in
+++ b/conf/unit/afm-unit-debug.conf.in
@@ -134,6 +134,7 @@ After=afm-api-{{name}}@%i.socket
%nl
[Service]
EnvironmentFile=-@afm_confdir@/unit.env.d/*
+EnvironmentFile=-@afm_confdir@/widget.env.d/{{:id}}/*
SmackProcessLabel=User::App::{{:id}}
SuccessExitStatus=0 SIGKILL
User=%i