postgresqls:Fixed server running issue and file paths
This commit is contained in:
@@ -12,4 +12,5 @@ def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
for i in ["LANG", "LANGUAGE", "LC_ALL"]:
|
||||
os.environ[i] = "en_US.UTF-8"
|
||||
|
||||
os.system('/bin/su postgres -s /bin/sh -p -c "/usr/bin/initdb --pgdata /var/lib/postgresql/data"')
|
||||
os.system('/bin/su postgres -s /bin/sh -p -c "/usr/bin/initdb --pgdata /var/lib/postgresql/data"')
|
||||
os.system('/bin/su postgres -s /bin/sh -p -c "/usr/bin/pg_ctl --pgdata -l logfile start"')
|
||||
|
||||
Reference in New Issue
Block a user