2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 12:23:35 +08:00

feat: optimize openresty scripts

This commit is contained in:
耗子
2023-07-08 02:39:45 +08:00
parent c4199dad4e
commit b88a398343
2 changed files with 14 additions and 1 deletions

View File

@@ -17,3 +17,14 @@ limitations under the License.
'
HR="+----------------------------------------------------"
systemctl stop openresty
systemctl disable openresty
rm -rf /etc/systemd/system/openresty.service
systemctl daemon-reload
pkill -9 nginx
rm -rf /www/server/openresty
panel deletePlugin openresty
echo -e "${HR}\nOpenResty uninstall completed.\n${HR}"