From 5eefbe5f74c361eeea1c430ddc533bc58cdb81fd Mon Sep 17 00:00:00 2001 From: Philippe Hamy Date: Mon, 23 Nov 2020 14:00:08 +0100 Subject: [PATCH] version avec autre user de docker-entry --- conf/docker-entrypoint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/docker-entrypoint.sh b/conf/docker-entrypoint.sh index 64cdf64..ac539e4 100644 --- a/conf/docker-entrypoint.sh +++ b/conf/docker-entrypoint.sh @@ -6,10 +6,10 @@ service postgresql restart for rep in $(find /var/gavo/inputs/[0-9a-zA-Z]* -maxdepth 0 -type d | cut -f5 -d'/') do - dachs imp ${rep}/q.rd - dachs pub //services - dachs pub //tap - dachs pub ${rep}/q.rd + su - dachsroot bash -c "dachs imp ${rep}/q.rd" + su - dachsroot bash -c "dachs pub //services" + su - dachsroot bash -c "dachs pub //tap" + su - dachsroot bash -c "dachs pub ${rep}/q.rd" done dachs serve restart -- libgit2 0.21.2