Update wp.sh
This commit is contained in:
@@ -107,6 +107,7 @@ sudo systemctl restart php${PHP_VERSION}-fpm
|
|||||||
if systemctl is-active --quiet apache2; then
|
if systemctl is-active --quiet apache2; then
|
||||||
sudo systemctl stop apache2
|
sudo systemctl stop apache2
|
||||||
sudo systemctl disable apache2
|
sudo systemctl disable apache2
|
||||||
|
sudo apt remove --purge apache2 -y
|
||||||
else
|
else
|
||||||
echo -e "当前环境是正常状态。"
|
echo -e "当前环境是正常状态。"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user