From 85e1f29ea4b939e2e35c619a03fa0a6eda4857d7 Mon Sep 17 00:00:00 2001
From: Zachary Klosko <kloskoz@vcu.edu>
Date: Thu, 10 Dec 2020 12:29:40 -0500
Subject: [PATCH] Adding systemctl restart postgres

---
 .github/scripts/install.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/scripts/install.sh b/.github/scripts/install.sh
index b8d0ac102..7d3f86efe 100644
--- a/.github/scripts/install.sh
+++ b/.github/scripts/install.sh
@@ -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;'