Improve stopping message
This commit is contained in:
parent
0ace3c0797
commit
95797c8938
@ -150,7 +150,7 @@ serve inputOptions { route, router } = do
|
||||
case filledOptions.closingHandler of
|
||||
Just NoClosingHandler -> pure closingHandler
|
||||
_ -> do
|
||||
onSignal SIGINT $ closingHandler $ log "Ok, ok, stopping the service now. Goodbye!"
|
||||
onSignal SIGINT $ closingHandler $ log "Aye, stopping service now. Goodbye!"
|
||||
onSignal SIGTERM $ closingHandler $ log "Arrgghh I got stabbed in the back 🗡 ... good...bye..."
|
||||
pure closingHandler
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user