From ba8d808cd90741ee2305cbc6003f464bd80fb7c4 Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Fri, 26 Feb 2016 23:09:19 +0800 Subject: [PATCH] fix(service.sh): annotate django runserver --- service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.sh b/service.sh index d2a9d06c0..202096642 100755 --- a/service.sh +++ b/service.sh @@ -30,7 +30,7 @@ start() { echo "jumpserver is running..." success "$jump_start" else - daemon python $base_dir/manage.py runserver 0.0.0.0:80 &>> /tmp/jumpserver.log 2>&1 & +# daemon python $base_dir/manage.py runserver 0.0.0.0:80 &>> /tmp/jumpserver.log 2>&1 & daemon python $base_dir/manage.py crontab add &>> /tmp/jumpserver.log 2>&1 daemon python $base_dir/run_websocket.py &> /dev/null 2>&1 & sleep 4