Browse code

fix postgres service name

in fedora postgresql is the service name and postgresql-server is
the package.[1]

os: Fedora release 23 (Twenty Three)
psql: psql (PostgreSQL) 9.4.5

i'm not entirely sure when this changed, but it's devstack is broken
in above environment.

[1]https://fedoraproject.org/wiki/PostgreSQL

Change-Id: Id940fed2a777ca469ce77402e1136251ba572359

gordon chung authored on 2016/02/19 05:50:01
Showing 1 changed files
... ...
@@ -102,7 +102,7 @@ EOF
102 102
     elif is_fedora || is_suse; then
103 103
         install_package postgresql-server
104 104
         if is_fedora; then
105
-            sudo systemctl enable postgresql-server
105
+            sudo systemctl enable postgresql
106 106
         fi
107 107
     else
108 108
         exit_distro_not_supported "postgresql installation"