Blame view
index.js
383 Bytes
49eaf19a3
|
1 2 3 4 5 |
'use strict'; process.chdir(__dirname); require('fs').writeFileSync('pid.txt', process.pid); |
c883b5cc4
|
6 |
const path = require('path'); |
158c5b010
|
7 |
const config = require('komodo-sdk/config'); |
49eaf19a3
|
8 |
|
56758af44
|
9 |
require('./lib/http-command-server'); |
49eaf19a3
|
10 |
require('./lib/modem'); |
158c5b010
|
11 |
|
c883b5cc4
|
12 |
process.title = `KOMODO-MODEM@${(typeof config.name === 'string') ? config.name.toUpperCase() : path.basename(config.modem.device).toUpperCase()}`; |