Fix postgresql setup on openSUSE
Fix postgresql setup on openSUSE

The initdb call is part of starting the service for the first time, so
we need to do that.

Also, restart postgresql after sed'ing its configuration files: if it
was already running for some reason, it needs to be restarted, not
started.

Change-Id: Ib7d3ff5217d06a7764a62a36084090514a1825ea

affo/devstack,mmasaki/devstack,HPCHub/devstack,mc2014/devstack,samgoon/devstack,yamt/devstack,HPCHub/devstack,armando-migliaccio/devstack,andrewrothstein/devstack,NaokiMiyata/devstack,upadhyay-prashant/devstack,bljgaurav/openstack-test,j4/devstack,innodee/openstackk,LoHChina/devstack,parul24/devstack,pombredanne/devstack,ewindisch/raspi-devstack,jamielennox/devstack,andrewrothstein/devstack,tianweizhang/devstack,promptworks/devstack,varunarya10/devstack,TwinkleChawla/devstack,openstack-dev/devstack,sc68cal/devstack,noironetworks/devstack,williamthegrey/devstack,nuxeh/devstack,rushiagr/devstack,atulpatil301/devstack,varunarya10/devstack,Juniper/devstack,pacinete/devstack,vsham20/devstack,richliu/devstack,pacinete/devstack,atulpatil301/devstack,openstack-dev/devstack,vsham20/devstack,kplus/devstack-moonshot,pombredanne/devstack,NaokiMiyata/devstack,neerja28/Devstack_GlusterFS,avvocatodemarchis/devstack,LoHChina/devstack,nawawi/openstack,noironetworks/devstack,rushiagr/devstack,bq-xiao/devstack,sequenceiq/devstack,olivierlemasle/devstack,costingalan/devstack,j4/devstack,vishnugonela/devstack,prithivm/branch01,CloudServer/devstack,mssumanth/devstack,ozamiatin/devstack,eharney/devstack,TwinkleChawla/devstack,CiscoSystems/devstack,pczerkas/devstack,Mahito/devstack,wenhuizhang/devstack,neerja28/Devstack_GlusterFS,cloudbuilders/devstack,ewindisch/raspi-devstack,bljgaurav/openstack-test,group-policy/devstack,Millnert/contrail-devstack,affo/devstack,costingalan/devstack,herrsechs/devstack,prithivm/branch01,BSJAIN92/OpenStack,sstrato/devstack,herrsechs/devstack,mc2014/devstack,bswartz/devstack,eharney/devstack,dtroyer/devstack,dtroyer/devstack,bswartz/devstack,Yuriy-Leonov/devstack,vishnugonela/devstack,liuquansheng47/devstack,sequenceiq/devstack,eshnil2000/devstack,richliu/devstack,deepakselvaraj/devstack,group-policy/devstack,dirkmueller/devstack,kplus/devstack-moonshot,parul24/devstack,CloudServer/devstack,thomasem/devstack,bigswitch/devstack,virtualopensystems/devstack,flavio-fernandes/devstack,flavio-fernandes/devstack,cloudbuilders/devstack,dirkmueller/devstack,ozamiatin/devstack,nawawi/openstack,shootstar/devstacktest,liuquansheng47/devstack,bigswitch/devstack,upadhyay-prashant/devstack,srics/devstack,Mahito/devstack,sc68cal/devstack,wenhuizhang/devstack,tianweizhang/devstack,samgoon/devstack,thomasem/devstack,mmasaki/devstack,olivierlemasle/devstack,avvocatodemarchis/devstack,BSJAIN92/OpenStack,promptworks/devstack,pczerkas/devstack,mssumanth/devstack,JioCloud/devstack,nuxeh/devstack,inkerra/devstack,bq-xiao/devstack