community
Steve L. Nyemba 6 years ago
parent 950cf5a4de
commit 27160d0a8e

@ -31,7 +31,6 @@ start(){
} }
stop(){ stop(){
ps -eo pid,command|grep python|grep -E "$PWD"|grep index.py|grep -E "^ {0,}[0-9]+" -o |xargs kill -9 ps -eo pid,command|grep python|grep -E "$PWD"|grep index.py|grep -E "^ {0,}[0-9]+" -o |xargs kill -9
ps -eo pid,command|grep python|grep -E "$PWD"|grep data-collector|grep -E "^ {0,}[0-9]+" -o |xargs kill -9
} }
status(){ status(){

@ -110,7 +110,7 @@ def plot_dashboard(id,node):
This function will plot a given app/folder/node This function will plot a given app/folder/node
""" """
session['key'] = 'cus_D2x3ItYNfWjSY3'
if 'key' in session and id in ['paid','free']: if 'key' in session and id in ['paid','free']:
args = {"type":SYS_STORE['class']['read'],"args":SYS_STORE['args']} args = {"type":SYS_STORE['class']['read'],"args":SYS_STORE['args']}
reader = factory.instance(**args) reader = factory.instance(**args)

Loading…
Cancel
Save