forked from piair/MsRewards-Reborn
c'est un peu plus joli, et en plus ca marche (ptet?)
This commit is contained in:
parent
e28efad8de
commit
48225a0455
@ -452,14 +452,6 @@ def maxi(dict):
|
||||
m = int(i)
|
||||
return(m+1)
|
||||
|
||||
def setup_grafana():
|
||||
print("setup_grafana")
|
||||
if get("http://localhost:3000/api/datasources").text == "[]" :
|
||||
print("subprocess started")
|
||||
subprocess.Popen(["bash",'/app/MsRewards-Reborn/config/request.sh'])
|
||||
|
||||
|
||||
setup_grafana()
|
||||
if __name__ == '__main__':
|
||||
update_jobs()
|
||||
edit_version()
|
||||
|
@ -1,3 +1,4 @@
|
||||
service nginx start
|
||||
service grafana-server start
|
||||
bash /app/MsRewards-Reborn/config/request.sh
|
||||
gunicorn --reload -w 4 -b 0.0.0.0:6666 'app:app'
|
Loading…
Reference in New Issue
Block a user