mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +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() {
|
async function shutdown() {
|
||||||
try {
|
try {
|
||||||
|
logging.warn(i18n.t('notices.httpServer.ghostIsShuttingDown'));
|
||||||
await self.stop();
|
await self.stop();
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -650,6 +650,7 @@
|
|||||||
"ghostIsRunningIn": "Ghost is running in {env}...",
|
"ghostIsRunningIn": "Ghost is running in {env}...",
|
||||||
"listeningOn": "Listening on: {host}:{port}",
|
"listeningOn": "Listening on: {host}:{port}",
|
||||||
"urlConfiguredAs": "Url configured as: {url}",
|
"urlConfiguredAs": "Url configured as: {url}",
|
||||||
|
"ghostIsShuttingDown": "Ghost is shutting down",
|
||||||
"ghostHasShutdown": "Ghost has shut down",
|
"ghostHasShutdown": "Ghost has shut down",
|
||||||
"yourBlogIsNowOffline": "Your site is now offline",
|
"yourBlogIsNowOffline": "Your site is now offline",
|
||||||
"ghostWasRunningFor": "Ghost was running for"
|
"ghostWasRunningFor": "Ghost was running for"
|
||||||
|
Loading…
Reference in New Issue
Block a user