mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-01-19 01:21:01 +08:00
15 lines
253 B
Bash
Executable File
15 lines
253 B
Bash
Executable File
#!/bin/bash
|
|
#打开日志
|
|
|
|
cd `dirname $0`/..
|
|
export BASE_DIR=`pwd`
|
|
echo $BASE_DIR
|
|
|
|
# check the nohup.out log output file
|
|
if [ ! -f "${BASE_DIR}/nohup.out" ]; then
|
|
echo "No file ${BASE_DIR}/nohup.out"
|
|
exit -1;
|
|
fi
|
|
|
|
tail -f "${BASE_DIR}/nohup.out"
|