summaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf/service.inc
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-05-15 17:38:08 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-05-23 16:08:54 +0200
commit07a9590a2dfcfd18540bbb67e2fbc2fc1795e4fa (patch)
tree904090335968e74029499e9782411be1309ed9f8 /conf/unit/generate-unit-conf/service.inc
parent405ba312a11f4217e5a8742169b010e2c747a4e0 (diff)
afm-unit: Simplify the Makefile
The use of AFM_CONFIG_DIR brings nothing except confusion. Bug-AGL: SPEC-2436 Change-Id: I21a18ad98349bf6799b72061523bc353ad3d6c3f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf/service.inc')
-rw-r--r--conf/unit/generate-unit-conf/service.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/unit/generate-unit-conf/service.inc b/conf/unit/generate-unit-conf/service.inc
index 839533d..dd585d5 100644
--- a/conf/unit/generate-unit-conf/service.inc
+++ b/conf/unit/generate-unit-conf/service.inc
@@ -64,8 +64,8 @@ After=UNIT_NAME_API_SOCKET({{name}},%i)
%nl
[Service]
-EnvironmentFile=-AFM_CONFIG_DIR/unit.env.d/*
-EnvironmentFile=-AFM_CONFIG_DIR/widget.env.d/{{:id}}/*
+EnvironmentFile=-@afm_confdir@/unit.env.d/*
+EnvironmentFile=-@afm_confdir@/widget.env.d/{{:id}}/*
SmackProcessLabel=User::App::{{:id}}
SuccessExitStatus=0 SIGKILL