From 545f7478197ad852c9c7e962ea01fa44c73d1f2c Mon Sep 17 00:00:00 2001 From: Raelon Masters Date: Mon, 11 May 2020 16:55:56 -0400 Subject: [PATCH] Debug psql startup --- installer | 1 + 1 file changed, 1 insertion(+) diff --git a/installer b/installer index f6882b5..d0f67ff 100755 --- a/installer +++ b/installer @@ -320,6 +320,7 @@ if RequiredServices().db_server_found(req) is False: "sudo -u postgres initdb --locale=en_US.UTF-8 -E UTF8 \ -D /var/lib/postgres/data" ) + breakpoint() os.system("sudo systemctl start postgresql") os.system("sudo -u postgres psql -f %s" % _sql_file) # os.system("sudo -u postgres psql -c \'%s\'"%psql_cmd)