mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
Added an additional log to notify shutdown start
- there can now be quite a big delay between SIGINT/TERM being received and shutdown finishing - add an extra log message to acknowledge the SIGINT/TERM to facilitate debugging and just be clear
This commit is contained in:
parent
64856dc5a3
commit
a9c6e081cf
@ -115,6 +115,7 @@ class GhostServer {
|
||||
|
||||
async function shutdown() {
|
||||
try {
|
||||
logging.warn(i18n.t('notices.httpServer.ghostIsShuttingDown'));
|
||||
await self.stop();
|
||||
process.exit(0);
|
||||
} catch (error) {
|
||||
|
@ -650,6 +650,7 @@
|
||||
"ghostIsRunningIn": "Ghost is running in {env}...",
|
||||
"listeningOn": "Listening on: {host}:{port}",
|
||||
"urlConfiguredAs": "Url configured as: {url}",
|
||||
"ghostIsShuttingDown": "Ghost is shutting down",
|
||||
"ghostHasShutdown": "Ghost has shut down",
|
||||
"yourBlogIsNowOffline": "Your site is now offline",
|
||||
"ghostWasRunningFor": "Ghost was running for"
|
||||
|
Loading…
Reference in New Issue
Block a user