Built motion from commit 42b6453.|2.0.26
[motion2.git] / server / config / pm2 / index.js
1 var _0x2d32=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x70\x6D\x32","\x62\x6C\x75\x65\x62\x69\x72\x64","\x2E\x2F\x63\x6F\x6E\x66\x69\x67","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x74\x61\x72\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x74\x68\x65\x6E","\x73\x74\x6F\x70","\x72\x65\x73\x74\x61\x72\x74","\x6C\x69\x73\x74","\x64\x65\x73\x63\x72\x69\x62\x65"];_0x2d32[0];var pm2=require(_0x2d32[1]);var BPromise=require(_0x2d32[2]);var config=require(_0x2d32[3]);function connect(){return  new BPromise(function(_0x4735x5,_0x4735x6){return pm2[_0x2d32[5]](function(_0x4735x7){if(_0x4735x7){return _0x4735x6(_0x4735x7)};return _0x4735x5(_0x2d32[4])})})}exports[_0x2d32[6]]= function(_0x4735x8){return connect()[_0x2d32[8]](function(){return  new BPromise(function(_0x4735x5,_0x4735x6){return pm2[_0x2d32[6]](config,function(_0x4735x7,_0x4735x9){if(_0x4735x7){return _0x4735x6(_0x4735x7)};pm2[_0x2d32[7]]();return _0x4735x5(_0x4735x9)})})})};exports[_0x2d32[9]]= function(_0x4735xa){return connect()[_0x2d32[8]](function(){return  new BPromise(function(_0x4735x5,_0x4735x6){return pm2[_0x2d32[9]](_0x4735xa,function(_0x4735x7,_0x4735x9){if(_0x4735x7){return _0x4735x6(_0x4735x7)};pm2[_0x2d32[7]]();return _0x4735x5(_0x4735x9)})})})};exports[_0x2d32[10]]= function(_0x4735xa){return connect()[_0x2d32[8]](function(){return  new BPromise(function(_0x4735x5,_0x4735x6){return pm2[_0x2d32[10]](_0x4735xa,function(_0x4735x7,_0x4735xb){if(_0x4735x7){return _0x4735x6(_0x4735x7)};pm2[_0x2d32[7]]();return _0x4735x5(_0x4735xb)})})})};exports[_0x2d32[11]]= function(){return connect()[_0x2d32[8]](function(){return  new BPromise(function(_0x4735x5,_0x4735x6){return pm2[_0x2d32[11]](function(_0x4735x7,_0x4735xc){if(_0x4735x7){return _0x4735x6(_0x4735x7)};pm2[_0x2d32[7]]();return _0x4735x5(_0x4735xc)})})})};exports[_0x2d32[12]]= function(_0x4735xa){return connect()[_0x2d32[8]](function(){return  new BPromise(function(_0x4735x5,_0x4735x6){return pm2[_0x2d32[12]](_0x4735xa,function(_0x4735x7,_0x4735xc){if(_0x4735x7){return _0x4735x6(_0x4735x7)};pm2[_0x2d32[7]]();return _0x4735x5(_0x4735xc)})})})}