From 856970fe8d8e67b8d4c047125d8b4ca7688f7646 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 Nov 2020 12:26:22 +0000 Subject: [PATCH] entry v2 --- conf/docker-entrypoint.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/docker-entrypoint.sh b/conf/docker-entrypoint.sh index 3ed9c23..64cdf64 100644 --- a/conf/docker-entrypoint.sh +++ b/conf/docker-entrypoint.sh @@ -4,13 +4,13 @@ service postgresql restart -for rep in $(find /var/gavo/inputs/[0-9a-zA-Z]* -maxdepth 0 -type d) +for rep in $(find /var/gavo/inputs/[0-9a-zA-Z]* -maxdepth 0 -type d | cut -f5 -d'/') do - su - dachsroot dachs imp /var/gavo/inputs/${rep}/q.rd - su - dachsroot dachs pub //services - su - dachsroot dachs pub //tap - su - dachsroot dachs pub /var/gavo/inputs/${rep}/q.rd + dachs imp ${rep}/q.rd + dachs pub //services + dachs pub //tap + dachs pub ${rep}/q.rd done -gavo serve restart +dachs serve restart service apache2 restart -- libgit2 0.21.2