From 5c93c731743492ea5585ed7383adfaaa864fb84c Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 2 Mar 2017 17:21:47 +0100 Subject: Set the workdir in afm/afm-unit.conf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm not sure that it will be still present at the end but let go ahead with that. Change-Id: I123035c29c049c780b71b4181c15bd2d3a96e7c7 Signed-off-by: José Bollo --- conf/afm-unit.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/afm-unit.conf b/conf/afm-unit.conf index 303ee27..0853d11 100644 --- a/conf/afm-unit.conf +++ b/conf/afm-unit.conf @@ -100,7 +100,7 @@ SuccessExitStatus=0 SIGKILL ExecStart=/usr/bin/afb-daemon --port={{:#metadata.http-port}} --random-token \ --rootdir={{:#metadata.install-dir}} \ - --workdir={{&#metadata.app-data-dir}} \ + --workdir={{&#metadata.app-data-dir}}/{{id}} \ --roothttp=htdocs \ {{#required-permission.urn:AGL:permission::public:applications:read}}\ --alias=/icons:{{:#metadata.icons-dir}} \ @@ -134,7 +134,7 @@ ExecStart=/usr/bin/afb-daemon --port={{:#metadata.http-port}} --random-token \ ExecStart=/usr/bin/afb-daemon \ --rootdir={{:#metadata.install-dir}} \ - --workdir={{&#metadata.install-dir}} \ + --workdir={{&#metadata.install-dir}}/{{id}} \ {{^required-permission.urn:AGL:permission::partner:service:no-ws}}\ --ws-server=unix:%t/bindings/{{:#target}} \ {{/required-permission.urn:AGL:permission::partner:service:no-ws}}\ -- cgit 1.2.3-korg