Adding systemctl restart postgres

This commit is contained in:
Zachary Klosko 2020-12-10 12:29:40 -05:00
parent 76a52a8ebd
commit 85e1f29ea4
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ apt-get install -y gstreamer1.0-plugins-base \
postgresql-client
# Creating database for testing
systemctl restart postgres
sudo -u postgres psql -c 'CREATE DATABASE libretime;'
sudo -u postgres psql -c "CREATE USER libretime WITH PASSWORD 'libretime';"
sudo -u postgres psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;'