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