From ad8b7c3ad94dd464175e26080e4152bff408d6da Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 8 Aug 2017 15:35:32 +0200 Subject: afm-unit.conf: refactor LD_LIBRARY_PATH value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes from LD_LIBRARY_PATH=$ORIGIN/$LIB to LD_LIBRARY_PATH=$ORIGIN/lib because $LIB isn't univoque for integrators while lib is. Change-Id: Ic4b2f8bb1410c35f75eb957a0ebc10141f995aba Signed-off-by: José Bollo --- conf/afm-unit-debug.conf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf/afm-unit-debug.conf.in') diff --git a/conf/afm-unit-debug.conf.in b/conf/afm-unit-debug.conf.in index 2bc2959..6fbd229 100644 --- a/conf/afm-unit-debug.conf.in +++ b/conf/afm-unit-debug.conf.in @@ -146,6 +146,8 @@ EnvironmentFile=-/var/run/afm-debug/{{idaver}}{{^#target=main}}@{{:#target}}{{/# %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 ---- @@ -226,8 +228,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}} -- cgit 1.2.3-korg