From db19b02934b58eaaef9b0083a0454f9061116a8e Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 3 Jul 2022 22:08:21 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index ffa8670c4..f4225a1a3 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -63,9 +63,9 @@ Install_openresty() Uninstall_openresty() { - if [ -f /lib/systemd/system/openresty.service ];then + if [ -f /usr/lib/systemd/system/openresty.service ];then systemctl stop openresty - rm -rf /lib/systemd/system/openresty.service + rm -rf /usr/systemd/system/openresty.service systemctl daemon-reload fi