mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
测试ql update
This commit is contained in:
1 parent
427bf44e01
commit
09ab572d79
2 files changed
+5
-3
No files matched your search
+2
-2
@@ -261,9 +261,9 @@ update_qinglong() {
|
||||
if [[ $exit_status -eq 0 ]]; then
|
||||
echo -e "\n更新$ql_static_repo成功...\n"
|
||||
cp -rf $ql_static_repo/* $dir_root
|
||||
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
|
||||
echo -e "重启面板中..."
|
||||
pm2 reload all >/dev/null 2>&1
|
||||
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
|
||||
sleep 1 && pm2 reload all >/dev/null 2>&1
|
||||
else
|
||||
echo -e "\n更新$dir_root失败,请检查原因...\n"
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user