X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=etc%2Fsv%2Fcyclo_paris_est__openerp%2Flocal.sh;h=1cfa081dc11091519652a4e0b2a2d7c4f9382c25;hp=cd02d50ada04f0f97e3cc06143880563db83089f;hb=f5e12fec2c7ef8d743e2d3e32c3bbe37b40c7a73;hpb=6647e7fb851e2dbe5a5c7ec60358f7371bf17183 diff --git a/etc/sv/cyclo_paris_est__openerp/local.sh b/etc/sv/cyclo_paris_est__openerp/local.sh index cd02d50..1cfa081 100644 --- a/etc/sv/cyclo_paris_est__openerp/local.sh +++ b/etc/sv/cyclo_paris_est__openerp/local.sh @@ -13,8 +13,8 @@ sudo postfix quiet-reload # ne sont pas signés par OpenPGP.. "$tool"/local/insserv-remove openerp -sudo -u postgres psql -a -c "DROP USER IF EXISTS openerp;" -~postgres/bin/createdb "$sv" +"$tool"/local/postgresql-user-create "$sv" +"$tool"/local/postgresql-database-create "$sv" "$tool"/local/adduser "$sv" \ --disabled-login \