Update install.sh

This commit is contained in:
midoks
2022-07-03 22:08:21 +08:00
parent 279a504029
commit db19b02934
+2 -2
View File
@@ -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