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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user