chore(elk): update nginx change mode to script for configuration reload
This commit is contained in:
parent
09d4972782
commit
e43ba44892
1 changed files with 5 additions and 7 deletions
|
@ -406,12 +406,10 @@ job "elk" {
|
|||
EOF
|
||||
|
||||
destination = "local/nginx.conf"
|
||||
change_mode = "signal"
|
||||
change_signal = "SIGHUP"
|
||||
|
||||
wait {
|
||||
min = "5s"
|
||||
max = "10s"
|
||||
change_mode = "script"
|
||||
change_script {
|
||||
command = "/usr/sbin/nginx"
|
||||
args = ["-s", "reload"]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue