mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Debug psql startup
This commit is contained in:
1
installer
vendored
1
installer
vendored
@@ -320,6 +320,7 @@ if RequiredServices().db_server_found(req) is False:
|
|||||||
"sudo -u postgres initdb --locale=en_US.UTF-8 -E UTF8 \
|
"sudo -u postgres initdb --locale=en_US.UTF-8 -E UTF8 \
|
||||||
-D /var/lib/postgres/data"
|
-D /var/lib/postgres/data"
|
||||||
)
|
)
|
||||||
|
breakpoint()
|
||||||
os.system("sudo systemctl start postgresql")
|
os.system("sudo systemctl start postgresql")
|
||||||
os.system("sudo -u postgres psql -f %s" % _sql_file)
|
os.system("sudo -u postgres psql -f %s" % _sql_file)
|
||||||
# os.system("sudo -u postgres psql -c \'%s\'"%psql_cmd)
|
# os.system("sudo -u postgres psql -c \'%s\'"%psql_cmd)
|
||||||
|
|||||||
Reference in New Issue
Block a user