mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +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}---------------"
|
||||||
echo "${bold}${green}Starting Nginx"
|
echo "${bold}${green}Starting Nginx"
|
||||||
echo "${bold}${green}---------------"
|
echo "${bold}${green}---------------"
|
||||||
sudo systemctl enable nginx
|
|
||||||
sudo systemctl start nginx
|
|
||||||
sudo systemctl status nginx.service
|
sudo systemctl status nginx.service
|
||||||
|
sudo systemctl restart nginx
|
||||||
}
|
}
|
||||||
|
|
||||||
reloadNginX () {
|
reloadNginX () {
|
||||||
|
@ -239,7 +238,7 @@ runsetupngxblocker1
|
||||||
loadNginxConf
|
loadNginxConf
|
||||||
forceUpdateTest1
|
forceUpdateTest1
|
||||||
runupdatengxblocker
|
runupdatengxblocker
|
||||||
startNginX
|
#startNginX
|
||||||
reloadNginX
|
reloadNginX
|
||||||
waitforReload
|
waitforReload
|
||||||
forceUpdateTest2
|
forceUpdateTest2
|
||||||
|
|
Loading…
Add table
Reference in a new issue