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