mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
[GHA] fix nginx restarts
This commit is contained in:
parent
d36db0abfe
commit
287d14f96f
1 changed files with 2 additions and 3 deletions
|
@ -68,9 +68,8 @@ printf "\n"
|
|||
echo "${bold}${green}---------------"
|
||||
echo "${bold}${green}Starting Nginx"
|
||||
echo "${bold}${green}---------------"
|
||||
sudo systemctl enable nginx
|
||||
sudo systemctl start nginx
|
||||
sudo systemctl status nginx.service
|
||||
sudo systemctl restart nginx
|
||||
}
|
||||
|
||||
reloadNginX () {
|
||||
|
@ -239,7 +238,7 @@ runsetupngxblocker1
|
|||
loadNginxConf
|
||||
forceUpdateTest1
|
||||
runupdatengxblocker
|
||||
startNginX
|
||||
#startNginX
|
||||
reloadNginX
|
||||
waitforReload
|
||||
forceUpdateTest2
|
||||
|
|
Loading…
Add table
Reference in a new issue