Vincent Untz b1b04d066d 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
2012-12-12 16:15:06 +01:00
..
2012-12-12 16:15:06 +01:00