From 3c6448193db93f4e7348c5cf6538c37a8fd35d5c Mon Sep 17 00:00:00 2001 From: amidevous Date: Sat, 21 Oct 2023 11:32:48 +0200 Subject: [PATCH] Update install.python3 --- install.python3 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.python3 b/install.python3 index 4d0c694..d6ec19a 100644 --- a/install.python3 +++ b/install.python3 @@ -234,12 +234,16 @@ if __name__ == "__main__": os.system("sudo mount -a >/dev/null 2>&1") os.system("sudo chown xui:xui -R /home/xui >/dev/null 2>&1") + time.sleep(60) os.system("sudo systemctl daemon-reload") + time.sleep(60) os.system("sudo systemctl start xuione") time.sleep(10) os.system("sudo /home/xui/status 1") + time.sleep(60) os.system("sudo /home/xui/bin/php/bin/php /home/xui/includes/cli/startup.php >/dev/null 2>&1") + time.sleep(60) rFile = io.open(rPath + "/credentials.txt", "w", encoding="utf-8") rFile.write("MySQL Username: %s\nMySQL Password: %s" % (rUsername, rPassword))