Commit b203521a6e1ff477618cdc2465b694927a9b2dd1

Authored by Adhidarma Hadiwinoto
1 parent a3d37b06a9
Exists in master

Process title

Showing 2 changed files with 6 additions and 0 deletions Side-by-side Diff

1 1 {
  2 + "name": "SMS",
  3 +
2 4 "# messaging_url": "messaging service url",
3 5 "messaging_url": "http://localhost:32979/",
4 6  
... ... @@ -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