|
@@ -56,7 +56,7 @@ else
|
|
|
echo "You can get help in our official home site: https://kkview.cn"
|
|
|
echo "If you need further help, please join our kk opensource community: https://t.zsxq.com/09ZHSXbsQ"
|
|
|
echo "If this project is helpful to you, please star it on https://gitee.com/kekingcn/file-online-preview/stargazers"
|
|
|
- PROCESS=$(ps -ef | grep kkFileView | awk 'NR==1{print $2}')
|
|
|
+ PROCESS=$(ps -ef | grep -v grep | grep java | grep kkFileView | awk 'NR==1{print $2}')
|
|
|
# 启动成功后将进程号写入pid文件
|
|
|
echo "$PROCESS" > "$PID_FILE"
|
|
|
fi
|