mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
Added missing debug info for IPC on start
refs 022a433e56
- noticed I missed adding debug info in one place (not that it's used, just for consistency)
- also made the SIGINT/TERM code slightly more readable
This commit is contained in:
parent
2efcf94645
commit
028d3fc88b
@ -233,7 +233,9 @@ GhostServer.prototype.logStartMessages = function () {
|
||||
}
|
||||
|
||||
// ensure that Ghost exits correctly on Ctrl+C and SIGTERM
|
||||
process.removeAllListeners('SIGINT').on('SIGINT', shutdown).removeAllListeners('SIGTERM').on('SIGTERM', shutdown);
|
||||
process
|
||||
.removeAllListeners('SIGINT').on('SIGINT', shutdown)
|
||||
.removeAllListeners('SIGTERM').on('SIGTERM', shutdown);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -353,7 +355,8 @@ module.exports.announceServerStart = function announceServerStart() {
|
||||
// CASE: Ghost extension - bootstrap sockets
|
||||
if (config.get('bootstrap-socket')) {
|
||||
return connectToBootstrapSocket({
|
||||
started: true
|
||||
started: true,
|
||||
debug: debugInfo
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user