mkdir -p $PGNEWDIR
chown postgres:postgres $PGNEWDIR
chmod 700 $PGNEWDIR
- sudo -u postgres psql --cluster 9.1/main -c "CREATE TABLESPACE \"user_$USER\" OWNER postgres LOCATION '$PGNEWDIR'" template1
+ sudo -u postgres psql --cluster 9.6/main -c "CREATE TABLESPACE \"user_$USER\" OWNER postgres LOCATION '$PGNEWDIR'" template1
fi
# Create mysql user and databases placeholder within volume