mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
forward shutdown request from compose to child
This commit is contained in:
parent
2e49266549
commit
d49fadf15b
3 changed files with 3 additions and 3 deletions
|
@ -38,4 +38,4 @@ createdb -h postgres -U postgres philomena_dev && mix ecto.setup_dev && mix rein
|
|||
background &
|
||||
|
||||
# Run the application
|
||||
START_WORKER=true mix phx.server
|
||||
START_WORKER=true exec mix phx.server
|
||||
|
|
|
@ -21,4 +21,4 @@ mix ecto.create
|
|||
mix ecto.load
|
||||
|
||||
# Test the application
|
||||
mix test
|
||||
exec mix test
|
||||
|
|
|
@ -32,7 +32,7 @@ defmodule Philomena.Application do
|
|||
PhilomenaWeb.Endpoint,
|
||||
|
||||
# Connection drainer for SIGTERM
|
||||
{Plug.Cowboy.Drainer, refs: [PhilomenaWeb.Endpoint.HTTP], shutdown: 5_000}
|
||||
{Plug.Cowboy.Drainer, refs: [PhilomenaWeb.Endpoint.HTTP]}
|
||||
]
|
||||
|
||||
# See https://hexdocs.pm/elixir/Supervisor.html
|
||||
|
|
Loading…
Reference in a new issue