Commit 57ab116bfc81fbfa75a2b6e34351ac833285025a
1 parent
d8a36bfb
Exists in
master
and in
39 other branches
Added conf to start postgresql on boot time
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
vagrant/centos.sh
@@ -54,5 +54,8 @@ fi | @@ -54,5 +54,8 @@ fi | ||
54 | ### Create colab user in PostgreSQL | 54 | ### Create colab user in PostgreSQL |
55 | echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo | 55 | echo "CREATE USER colab WITH PASSWORD 'colab';" | sudo -u postgres -i psql 2> /dev/null || echo |
56 | 56 | ||
57 | -#i## Create colab DB in PostgreSQL | 57 | +### Create colab DB in PostgreSQL |
58 | sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo | 58 | sudo -u postgres -i createdb --owner=colab colab 2> /dev/null | echo |
59 | + | ||
60 | +### Forcing postgresql to start at boot | ||
61 | +sudo chkconfig postgresql on |