Log PID on start

This commit is contained in:
Raul Ochoa 2015-08-24 12:45:21 +02:00
parent bf4844e664
commit 9ef96080a6

8
app.js
View File

@ -106,10 +106,10 @@ ws.listen(global.environment.port, global.environment.host);
var version = require("./package").version;
ws.on('listening', function() {
console.log(
"Windshaft tileserver %s started on %s:%s (%s)",
version, global.environment.host, global.environment.port, ENV
);
console.log(
"Windshaft tileserver %s started on %s:%s PID=%d (%s)",
version, global.environment.host, global.environment.port, process.pid, ENV
);
});
process.on('SIGHUP', function() {