diff --git a/run.sh b/run.sh index a4bc1f5..247c15e 100755 --- a/run.sh +++ b/run.sh @@ -48,6 +48,12 @@ if [ "$1" = "import" ]; then fi if [ "$1" = "run" ]; then + # Clean /tmp + rm -rf /tmp/* + + # Fix postgres data privileges + chown postgres:postgres /var/lib/postgresql -R + # Initialize PostgreSQL and Apache CreatePostgressqlConfig service postgresql start