From c5dbee4ab4e1cd5a35c01d2dc9c561bf12afcc22 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Tue, 9 Apr 2013 17:24:32 +0200 Subject: [PATCH] =?utf8?q?Correction=20:=20vm=5Fhosted=20:=20rule=5Fpostgr?= =?utf8?q?esql=5Fconfigure=20:=20sch=C3=A9mas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- etc/sv/cyclo_paris_est__openerp/configure.sh | 5 +- vm_hosted | 83 ++++++++------------ 2 files changed, 37 insertions(+), 51 deletions(-) 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