the big cleanup: remove unused code relating to openstack/nova
[sfa.git] / systemd / sfa-setup.sh
index d708abc..035a1fe 100755 (executable)
@@ -128,7 +128,8 @@ function start-db () {
         reload
     fi
 
-    systemctl restart postgresql
+    # tell postgresql that settings have changed
+    su - postgres bash -c "pg_ctl reload"
 
     ######## make sure we have the user and db created
     # user