Blame view

conf/docker-entrypoint.sh 319 Bytes
c8b97213   Philippe Hamy   ajout un script d...
1
2
3
4
5
6
#!/usr/bin/env bash

# script executé au démarrage du docker

service postgresql restart

856970fe   root   entry v2
7
for rep in $(find /var/gavo/inputs/[0-9a-zA-Z]* -maxdepth 0 -type d | cut -f5 -d'/')
c8b97213   Philippe Hamy   ajout un script d...
8
do
856970fe   root   entry v2
9
10
11
12
  dachs imp ${rep}/q.rd
  dachs pub //services
  dachs pub //tap
  dachs pub ${rep}/q.rd
c8b97213   Philippe Hamy   ajout un script d...
13
done
856970fe   root   entry v2
14
dachs serve restart
c8b97213   Philippe Hamy   ajout un script d...
15
16

service apache2 restart