diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index 1a49e9b41..3676c3bc5 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -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 }