|
@@ -25,8 +25,6 @@ cp /tracim/tracim/wsgidav.conf.sample /tracim/tracim/wsgidav.conf
|
25
|
25
|
|
26
|
26
|
# PostgreSQL case
|
27
|
27
|
if [ "$DATABASE_TYPE" = postgresql ] ; then
|
28
|
|
- # TODO: We need to increase max_connections, why ? Tracim tests don't closes connections ?
|
29
|
|
- sed -i "s/\(max_connections *= *\).*/\max_connections = 300/" /etc/postgresql/9.4/main/postgresql.conf
|
30
|
28
|
service postgresql start
|
31
|
29
|
su - postgres -s /bin/bash -c "psql -c \"CREATE DATABASE tracim;\""
|
32
|
30
|
su - postgres -s /bin/bash -c "psql -c \"ALTER USER postgres WITH PASSWORD 'dummy';\""
|