1
0
Fork 0
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:
Michał Kulesza 2019-02-21 21:32:45 +01:00
parent ac0652f5a1
commit f703b04a7c

View file

@ -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