summaryrefslogtreecommitdiffstats
path: root/conf/afm-unit.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'conf/afm-unit.conf.in')
-rw-r--r--conf/afm-unit.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/afm-unit.conf.in b/conf/afm-unit.conf.in
index e6163e2..bcd9949 100644
--- a/conf/afm-unit.conf.in
+++ b/conf/afm-unit.conf.in
@@ -142,6 +142,8 @@ Environment=PATH=/usr/sbin:/usr/bin:/sbin:/bin:{{:#metadata.install-dir}}
%systemd-unit service afm-appli-{{idaver}}{{^#target=main}}@{{:#target}}{{/#target=main}}
{{/required-permission.urn:AGL:permission::public:hidden}}\
+Environment=LD_LIBRARY_PATH=$ORIGIN/lib
+
;---------------------------------------------------------------------------------
;---- text/html application/vnd.agl.native application/vnd.agl.service ----
@@ -222,8 +224,6 @@ ExecStart=/usr/bin/afb-daemon \
;---------------------------------------------------------------------------------
{{#content.type=application/x-executable}}
-Environment=LD_LIBRARY_PATH=$ORIGIN/$LIB
-
ExecStart={{:#metadata.install-dir}}/{{content.src}}
{{/content.type=application/x-executable}}