- #!/bin/bash
-
-
- cd `dirname $0`/..
- export BASE_DIR=`pwd`
- echo $BASE_DIR
-
-
- if [ ! -f "${BASE_DIR}/nohup.out" ]; then
- touch "${BASE_DIR}/nohup.out"
- echo "create file ${BASE_DIR}/nohup.out"
- fi
-
- nohup python3 "${BASE_DIR}/app.py" & tail -f "${BASE_DIR}/nohup.out"
-
- echo "Chat_on_webchat is starting,you can check the ${BASE_DIR}/nohup.out"
|