Commit 56ba7f3b97e4bf1f5b0ba08676fd0fc691f74f06
1 parent
200bb557d7
Exists in
master
Call sdNotify on started
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
index.js
... | ... | @@ -7,6 +7,8 @@ fs.writeFileSync('pid.txt', `${process.pid}`); |
7 | 7 | global.KOMODO_LOG_LABEL = 'KOMODO-MESSAGING'; |
8 | 8 | process.title = global.KOMODO_LOG_LABEL; |
9 | 9 | |
10 | +const sdNotify = require('komodo-sdk/sd-notify'); | |
11 | + | |
10 | 12 | const matrix = require('komodo-sdk/matrix'); |
11 | 13 | |
12 | 14 | matrix.NODE_ENV = process.env.NODE_ENV; |
... | ... | @@ -17,3 +19,5 @@ const coreUrl = require('komodo-sdk/core-url'); |
17 | 19 | logger.verbose(`CORE URL: ${coreUrl}`); |
18 | 20 | |
19 | 21 | require('./lib/http-listener'); |
22 | + | |
23 | +sdNotify(); |