mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-04 15:47:52 +08:00
formatting code
This commit is contained in:
@@ -8,7 +8,7 @@ echo $BASE_DIR
|
||||
# check the nohup.out log output file
|
||||
if [ ! -f "${BASE_DIR}/nohup.out" ]; then
|
||||
touch "${BASE_DIR}/nohup.out"
|
||||
echo "create file ${BASE_DIR}/nohup.out"
|
||||
echo "create file ${BASE_DIR}/nohup.out"
|
||||
fi
|
||||
|
||||
nohup python3 "${BASE_DIR}/app.py" & tail -f "${BASE_DIR}/nohup.out"
|
||||
|
||||
@@ -7,7 +7,7 @@ echo $BASE_DIR
|
||||
|
||||
# check the nohup.out log output file
|
||||
if [ ! -f "${BASE_DIR}/nohup.out" ]; then
|
||||
echo "No file ${BASE_DIR}/nohup.out"
|
||||
echo "No file ${BASE_DIR}/nohup.out"
|
||||
exit -1;
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user