File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 132132- Fixed typo in install tasks fixes #6 (thanks @asemt )
133133- Added nomad_group_name and use nomad_iface (thanks @dggreenbaum )
134134- Updated documentation
135+
136+ ## v1.4.5
137+
138+ - Switch init scripts to send SIGTERM to address #2
139+ - Add leave_on_terminate and set to True by default
Original file line number Diff line number Diff line change @@ -33,3 +33,6 @@ advertise {
3333
3434# Enable debug endpoints
3535enable_debug = true
36+
37+ # Graceful leave on SIGTERM
38+ leave_on_terminate = true
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ stop() {
5151 fi
5252
5353 mkpidfile
54- killproc $KILLPROC_OPT $nomad -9
54+ killproc $KILLPROC_OPT $nomad -SIGTERM
5555
5656 retcode=$?
5757 rm -f /var/lock/subsys/nomad $PID_FILE
Original file line number Diff line number Diff line change 1- v1.4.4
1+ v1.4.5
You can’t perform that action at this time.
0 commit comments