Commit 0bb2077b1d99aa3eafdd37d85cc617c26385971b
1 parent
e0051a75a0
Exists in
master
Call sd-notify
Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff
index.js
... | ... | @@ -7,6 +7,7 @@ const config = require('komodo-sdk/config'); |
7 | 7 | global.KOMODO_LOG_LABEL = `KOMODO-GW@${config.handler_name || 'HTTPGETX'}`; |
8 | 8 | |
9 | 9 | require('komodo-sdk/api-server'); |
10 | +const sdNotify = require('komodo-sdk/sd-notify'); | |
10 | 11 | |
11 | 12 | const adviceServer = require('komodo-sdk/gateway/advice-push-server'); |
12 | 13 | |
... | ... | @@ -24,3 +25,5 @@ postpaidSdk.setPartner(partnerPostpaid); |
24 | 25 | adviceServer.setPartner(partnerPrepaid); |
25 | 26 | |
26 | 27 | fs.writeFileSync('pid.txt', process.pid.toString()); |
28 | + | |
29 | +sdNotify(); |