chore(elk): update nginx change mode to script for configuration reload
All checks were successful
Lint / lint (push) Successful in 1m9s
Terraform Plan and Apply / cicd (push) Successful in 1m14s

This commit is contained in:
Ben Martin 2025-02-03 23:28:36 +00:00
parent 09d4972782
commit e43ba44892
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -405,13 +405,11 @@ job "elk" {
}
EOF
destination = "local/nginx.conf"
change_mode = "signal"
change_signal = "SIGHUP"
wait {
min = "5s"
max = "10s"
destination = "local/nginx.conf"
change_mode = "script"
change_script {
command = "/usr/sbin/nginx"
args = ["-s", "reload"]
}
}