Adding systemctl restart postgres
This commit is contained in:
parent
76a52a8ebd
commit
85e1f29ea4
|
@ -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;'
|
||||
|
|
Loading…
Reference in New Issue