Commit 5eefbe5f74c361eeea1c430ddc533bc58cdb81fd
1 parent
856970fe
Exists in
master
version avec autre user de docker-entry
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
conf/docker-entrypoint.sh
... | ... | @@ -6,10 +6,10 @@ service postgresql restart |
6 | 6 | |
7 | 7 | for rep in $(find /var/gavo/inputs/[0-9a-zA-Z]* -maxdepth 0 -type d | cut -f5 -d'/') |
8 | 8 | do |
9 | - dachs imp ${rep}/q.rd | |
10 | - dachs pub //services | |
11 | - dachs pub //tap | |
12 | - dachs pub ${rep}/q.rd | |
9 | + su - dachsroot bash -c "dachs imp ${rep}/q.rd" | |
10 | + su - dachsroot bash -c "dachs pub //services" | |
11 | + su - dachsroot bash -c "dachs pub //tap" | |
12 | + su - dachsroot bash -c "dachs pub ${rep}/q.rd" | |
13 | 13 | done |
14 | 14 | dachs serve restart |
15 | 15 | ... | ... |