fix json start + improve logs

This commit is contained in:
piair 2024-02-28 14:40:12 +01:00
parent a590d0f1b5
commit 6122d9ee13
4 changed files with 7 additions and 6 deletions

View File

@ -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 grafana-server start
service nginx start service nginx start
nohup redis-server &
gunicorn --reload --worker-class gevent -b 0.0.0.0:6666 'app:app' gunicorn --reload --worker-class gevent -b 0.0.0.0:6666 'app:app'

5
V6.py
View File

@ -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.set_display(SmartDisplay(backend="xvnc", size=(1920, 1080), rfbport=2345, color_depth=24))
config.display.start() config.display.start()
account_id = 0
for account_id in range(5): while config.UserCredentials.is_valid():
start = False start = False
for action in ["unban", "tout", "pc", "mobile", "daily"]: for action in ["unban", "tout", "pc", "mobile", "daily"]:
try: try:
@ -714,6 +714,7 @@ def json_start(json_entry, cred: UserCredentials):
error(f"CustomStart {e}") error(f"CustomStart {e}")
driver.close() driver.close()
cred.next_account() cred.next_account()
account_id += 1
config.display.stop() config.display.stop()

View File

@ -16,4 +16,4 @@ services:
- "2345:2345" - "2345:2345"
shm_size: 2gb shm_size: 2gb
volumes: volumes:
- "./:/data" - "./data/:/data"

View File

@ -1 +1 @@
v6.8.35 v6.8.36