Commit e64cef49ac2f20cb48c9c308fd753263119d48ed

Authored by Adhidarma Hadiwinoto
1 parent 5fd3b72595
Exists in master

Move write pid to end of file

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -2,8 +2,6 @@ process.chdir(__dirname);
2 2  
3 3 const fs = require('fs');
4 4  
5   -fs.writeFileSync('pid.txt', process.pid.toString());
6   -
7 5 const config = require('komodo-sdk/config');
8 6  
9 7 global.KOMODO_LOG_LABEL = `KOMODO-GW@${config.handler_name || 'HTTPGETX'}`;
... ... @@ -24,3 +22,5 @@ pullgw.setPartner(partnerPrepaid);
24 22 postpaidSdk.setPartner(partnerPostpaid);
25 23  
26 24 adviceServer.setPartner(partnerPrepaid);
  25 +
  26 +fs.writeFileSync('pid.txt', process.pid.toString());