mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
增加重启时静态资源清理
This commit is contained in:
1 parent
989bc51f0d
commit
703707c480
1 file changed
+1
@@ -271,6 +271,7 @@ update_qinglong() {
|
||||
fi
|
||||
if [[ $exit_status -eq 0 ]]; then
|
||||
echo -e "\n更新$ql_static_repo成功...\n"
|
||||
rm -rf $dir_root/build && rm -rf $dir_root/dist
|
||||
cp -rf $ql_static_repo/* $dir_root
|
||||
echo -e "重启面板中..."
|
||||
nginx -s reload 2>/dev/null || nginx -c /etc/nginx/nginx.conf
|
||||
|
||||
Reference in new issue
Block a user