Update install.sh

This commit is contained in:
midoks 2022-06-18 15:44:17 +08:00
parent b4e37eecb4
commit 596b3cd42f
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ Install_openresty()
Uninstall_openresty()
{
rm -rf $serverPath/openresty
if [ -f /lib/systemd/system/openresty.service ];then
rm -rf /lib/systemd/system/openresty.service
fi
echo '卸载完成' > $install_tmp
}