X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fcyclo_paris_est__openerp%2Fconfigure.sh;fp=etc%2Fsv%2Fcyclo_paris_est__openerp%2Fconfigure.sh;h=2aaa8910dc7117fd8fe0cd222a1bb0004656eff8;hp=9bc9d122ee937cdd3f86b337fef0f3e4adf9bc3d;hb=c5dbee4ab4e1cd5a35c01d2dc9c561bf12afcc22;hpb=91df5969cc2c56d0ddd875b0e381ce4853fd0318 diff --git a/etc/sv/cyclo_paris_est__openerp/configure.sh b/etc/sv/cyclo_paris_est__openerp/configure.sh index 9bc9d12..2aaa891 100644 --- a/etc/sv/cyclo_paris_est__openerp/configure.sh +++ b/etc/sv/cyclo_paris_est__openerp/configure.sh @@ -1,7 +1,10 @@ eval "local home=/home/$sv" cd / case $(sudo sv status postgres || true) in - (run:*);; + (run:*) + while ! sudo -u postgres psql