mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
gracefully exit to be consistent with single mode
This commit is contained in:
parent
ac0652f5a1
commit
f703b04a7c
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ module Puma
|
|||
stop
|
||||
|
||||
raise(SignalException, "SIGTERM") if @options[:raise_exception_on_sigterm]
|
||||
exit 0 # Clean exit, workers were stopped
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue