Commit 72cd33847a0a050dffb15ee6367dc2a2bc9fe4ff
1 parent
5787f2c114
Exists in
master
sdNotify
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
index.js
1 | 1 | process.chdir(__dirname); |
2 | 2 | const fs = require('fs'); |
3 | 3 | |
4 | +const sdNotify = require('komodo-sdk/sd-notify'); | |
5 | + | |
4 | 6 | require('komodo-sdk/api-server'); |
5 | 7 | const pullgw = require('komodo-sdk/gateway/pull'); |
6 | 8 | const pushServer = require('komodo-sdk-push-trx/server'); |
... | ... | @@ -11,3 +13,4 @@ pushServer.setPartner(partner); |
11 | 13 | pullgw.setPartner(partner); |
12 | 14 | |
13 | 15 | fs.writeFileSync('pid.txt', process.pid.toString()); |
16 | +sdNotify(); |