From 9e9a8eab4436e6ae16c366d020b33cd739ff5ed5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 11 Sep 2016 01:51:01 -0400 Subject: erp1: Create PostgreSQL user for Odoo --- (limited to 'hosts/erp1') diff --git a/hosts/erp1 b/hosts/erp1 index de5b7e7..7ce1a87 100644 --- a/hosts/erp1 +++ b/hosts/erp1 @@ -102,6 +102,7 @@ do_postinst() pg_dropcluster --stop 9.4 main pg_createcluster --locale en_US.UTF-8 --start 9.4 main /usr/share/ledgersmb/tools/config-lsmb-db-user.sh ledgersmb LEDGERSMBINITIAL + sudo -u postgres createuser -d odoo mv /etc/rc.local.orig /etc/rc.local EOF chmod a+x "${target}/etc/rc.local" -- cgit v0.9.1