commit
529ccea7eb
1
app.js
1
app.js
@ -20,6 +20,7 @@ process.on('SIGTERM', gracefulShutdown);
|
||||
// listen for INT signal e.g. Ctrl-C
|
||||
process.on('SIGINT', gracefulShutdown);
|
||||
|
||||
// listen for shutdown signal from pm2
|
||||
process.on('message', function(msg) {
|
||||
if (msg == 'shutdown')
|
||||
gracefulShutdown();
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eth-net-intelligence-api",
|
||||
"description": "Ethereum Network Intelligence API",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"private": true,
|
||||
"main": "./app.js",
|
||||
"directories": {
|
||||
|
Loading…
Reference in New Issue
Block a user