From 6122d9ee1333bbc2d16effda653d2cfd7d6b8ccc Mon Sep 17 00:00:00 2001 From: piair Date: Wed, 28 Feb 2024 14:40:12 +0100 Subject: [PATCH] fix json start + improve logs --- Flask/start.sh | 4 ++-- V6.py | 5 +++-- docker-compose.yml | 2 +- version | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Flask/start.sh b/Flask/start.sh index 9098adc..00aed0e 100644 --- a/Flask/start.sh +++ b/Flask/start.sh @@ -1,5 +1,5 @@ -nohup bash /app/MsRewards-Reborn/sse.sh & +nohup redis-server &> nohup_redis.out & +nohup bash /app/MsRewards-Reborn/sse.sh &> nohup_sse.out & service grafana-server start service nginx start -nohup redis-server & gunicorn --reload --worker-class gevent -b 0.0.0.0:6666 'app:app' diff --git a/V6.py b/V6.py index 7b109f5..fa10d96 100755 --- a/V6.py +++ b/V6.py @@ -651,8 +651,8 @@ def json_start(json_entry, cred: UserCredentials): config.set_display(SmartDisplay(backend="xvnc", size=(1920, 1080), rfbport=2345, color_depth=24)) config.display.start() - - for account_id in range(5): + account_id = 0 + while config.UserCredentials.is_valid(): start = False for action in ["unban", "tout", "pc", "mobile", "daily"]: try: @@ -714,6 +714,7 @@ def json_start(json_entry, cred: UserCredentials): error(f"CustomStart {e}") driver.close() cred.next_account() + account_id += 1 config.display.stop() diff --git a/docker-compose.yml b/docker-compose.yml index b64ad2b..a8d2073 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,4 +16,4 @@ services: - "2345:2345" shm_size: 2gb volumes: - - "./:/data" + - "./data/:/data" diff --git a/version b/version index a5a9733..4282f30 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.8.35 +v6.8.36