From 95797c89384722b443f9d71a8d540106e2030f2a Mon Sep 17 00:00:00 2001 From: sigma-andex <77549848+sigma-andex@users.noreply.github.com> Date: Thu, 26 May 2022 10:23:52 +0100 Subject: [PATCH] Improve stopping message --- src/HTTPurple/Server.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTTPurple/Server.purs b/src/HTTPurple/Server.purs index 05fb2aa..c5bc262 100644 --- a/src/HTTPurple/Server.purs +++ b/src/HTTPurple/Server.purs @@ -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