Commit b203521a6e1ff477618cdc2465b694927a9b2dd1
1 parent
a3d37b06a9
Exists in
master
Process title
Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff
config.sample.json
index.js
... | ... | @@ -5,5 +5,9 @@ process.chdir(__dirname); |
5 | 5 | const fs = require('fs'); |
6 | 6 | fs.writeFileSync('pid.txt', process.pid); |
7 | 7 | |
8 | +const config = require('komodo-sdk/config'); | |
9 | +process.title = `KOMODO-${(config && typeof config.name === 'string') ? config.name.toUpperCase() : 'SMS'}`; | |
10 | + | |
11 | + | |
8 | 12 | require('./lib/transport'); |
9 | 13 | require('./lib/handler-callback-server'); |
10 | 14 | \ No newline at end of file |