summaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf/service.inc
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-06-03 16:06:29 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-06-03 16:06:29 +0000
commitfd72db48d6652a9bd3503779ba0bfba363ceba36 (patch)
tree904090335968e74029499e9782411be1309ed9f8 /conf/unit/generate-unit-conf/service.inc
parented5011bdd94bab70cd787d18a813497b06837eaa (diff)
parent07a9590a2dfcfd18540bbb67e2fbc2fc1795e4fa (diff)
Merge "afm-unit: Simplify the Makefile"
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