From 57ab116bfc81fbfa75a2b6e34351ac833285025a Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Mon, 10 Nov 2014 19:37:15 -0200 Subject: [PATCH] Added conf to start postgresql on boot time --- vagrant/centos.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vagrant/centos.sh b/vagrant/centos.sh index aa45e4d..d67a247 100755 --- a/vagrant/centos.sh +++ b/vagrant/centos.sh @@ -54,5 +54,8 @@ fi ### Create colab user in PostgreSQL echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo -#i## Create colab DB in PostgreSQL +### Create colab DB in PostgreSQL sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo + +### Forcing postgresql to start at boot +sudo chkconfig postgresql on -- libgit2 0.21.2