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
|
@ -405,13 +405,11 @@ job "elk" {
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
destination = "local/nginx.conf"
|
destination = "local/nginx.conf"
|
||||||
change_mode = "signal"
|
change_mode = "script"
|
||||||
change_signal = "SIGHUP"
|
change_script {
|
||||||
|
command = "/usr/sbin/nginx"
|
||||||
wait {
|
args = ["-s", "reload"]
|
||||||
min = "5s"
|
|
||||||
max = "10s"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue