Improve stopping message

This commit is contained in:
sigma-andex 2022-05-26 10:23:52 +01:00
parent 0ace3c0797
commit 95797c8938

View File

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