Commit c440a8dd authored by Joerg Behrmann's avatar Joerg Behrmann Committed by Stan Hu

Send SIGINT instead of SIGQUIT to puma

Puma does not handle SIGQUIT [1], so worker processes will not get
terminated when calling /etc/init.d/gitlab stop

[1] https://github.com/puma/puma/blob/master/docs/signals.md
parent 7ac55f6a
...@@ -36,7 +36,7 @@ start_foreground() ...@@ -36,7 +36,7 @@ start_foreground()
stop() stop()
{ {
get_puma_pid get_puma_pid
kill -QUIT "$(get_puma_pid)" kill -INT "$(get_puma_pid)"
} }
reload() reload()
......
...@@ -36,7 +36,7 @@ start_foreground() ...@@ -36,7 +36,7 @@ start_foreground()
stop() stop()
{ {
get_puma_pid get_puma_pid
kill -QUIT "$(get_puma_pid)" kill -INT "$(get_puma_pid)"
} }
reload() reload()
......
---
title: Send SIGINT instead of SIGQUIT to puma
merge_request: 54446
author: Jörg Behrmann @behrmann
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment