diff --git a/service.sh b/service.sh index 3eca1bf05..a20418381 100755 --- a/service.sh +++ b/service.sh @@ -25,7 +25,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