what is started?????????

This commit is contained in:
piair 2023-08-24 14:24:52 +02:00
parent 0fa8149953
commit 2f2b4f9905
1 changed files with 8 additions and 7 deletions

View File

@ -455,10 +455,11 @@ def maxi(dict):
def setup_grafana(): def setup_grafana():
if get("http://localhost:3000/api/datasources").text == "[]" : if get("http://localhost:3000/api/datasources").text == "[]" :
subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh']) subprocess.Popen(["bash",'/app/MsRewards-Reborn/grafana-config/request.sh'])
setup_grafana()
if __name__ == '__main__': #if __name__ == '__main__':
print("this is launched") # print("this is launched")
setup_grafana() # setup_grafana()
update_jobs() # update_jobs()
edit_version() # edit_version()
app.run(host='0.0.0.0', port=1234, debug=True) # app.run(host='0.0.0.0', port=1234, debug=True)
#