mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
make startup message consistent
This commit is contained in:
parent
ea92fe0e9e
commit
d862227314
1 changed files with 3 additions and 2 deletions
|
@ -83,8 +83,9 @@ shutdownCleanly = (signal) ->
|
|||
, 10000
|
||||
|
||||
port = Settings.internal?.documentupdater?.port or Settings.apis?.documentupdater?.port or 3003
|
||||
app.listen port, "localhost", ->
|
||||
logger.log("documentupdater-sharelatex server listening on port #{port}")
|
||||
host = Settings.internal.documentupdater.host or "localhost"
|
||||
app.listen port, host, ->
|
||||
logger.info "Document-updater starting up, listening on #{host}:#{port}"
|
||||
|
||||
for signal in ['SIGINT', 'SIGHUP', 'SIGQUIT', 'SIGUSR1', 'SIGUSR2', 'SIGTERM', 'SIGABRT']
|
||||
process.on signal, shutdownCleanly(signal)
|
Loading…
Reference in a new issue