diff --git a/Flask/app.py b/Flask/app.py index c14bf60..d3071b4 100644 --- a/Flask/app.py +++ b/Flask/app.py @@ -453,7 +453,7 @@ def maxi(dict): return(m+1) -subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh']) +subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh']) #if __name__ == '__main__': # print("this is launched") diff --git a/Flask/start.sh b/Flask/start.sh index dc6c28c..21d841c 100644 --- a/Flask/start.sh +++ b/Flask/start.sh @@ -1,3 +1,3 @@ service grafana-server start service nginx start -gunicorn --reload -w 4 -b 0.0.0.0:6666 'app:app' +gunicorn --reload -w 1 -b 0.0.0.0:6666 'app:app'