mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
[GHA] ADD Start Nginx
This commit is contained in:
parent
911d113185
commit
af5082b8b9
1 changed files with 10 additions and 0 deletions
|
@ -63,6 +63,15 @@ defaultcolor=$(tput setaf default)
|
|||
# FUNCTIONS
|
||||
# ---------
|
||||
|
||||
startNginX () {
|
||||
printf "\n"
|
||||
echo "${bold}${green}---------------"
|
||||
echo "${bold}${green}Starting Nginx"
|
||||
echo "${bold}${green}---------------"
|
||||
sudo systemctl enable nginx
|
||||
sudo systemctl start nginx
|
||||
}
|
||||
|
||||
reloadNginX () {
|
||||
printf "\n"
|
||||
echo "${bold}${green}---------------"
|
||||
|
@ -229,6 +238,7 @@ runsetupngxblocker1
|
|||
loadNginxConf
|
||||
forceUpdateTest1
|
||||
runupdatengxblocker
|
||||
startNginX
|
||||
reloadNginX
|
||||
waitforReload
|
||||
forceUpdateTest2
|
||||
|
|
Loading…
Add table
Reference in a new issue