Built motion from commit 5ae82ce5.|2.6.7
[motion2.git] / server / config / pm2 / index.js
index 889d362..890a979 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe52c=['then','describe','delete','dump','saved','bluebird','./config','connect','connected','start','disconnect','stop','restart'];(function(_0x7cf586,_0xd0ff06){var _0x3c38a4=function(_0x509822){while(--_0x509822){_0x7cf586['push'](_0x7cf586['shift']());}};_0x3c38a4(++_0xd0ff06);}(_0xe52c,0x87));var _0xce52=function(_0xb5fa8d,_0x538f47){_0xb5fa8d=_0xb5fa8d-0x0;var _0x463df2=_0xe52c[_0xb5fa8d];return _0x463df2;};'use strict';var pm2=require('pm2');var BPromise=require(_0xce52('0x0'));var config=require(_0xce52('0x1'));function connect(){return new BPromise(function(_0x5fc111,_0x305650){return pm2[_0xce52('0x2')](function(_0x58c065){if(_0x58c065){return _0x305650(_0x58c065);}return _0x5fc111(_0xce52('0x3'));});});};exports[_0xce52('0x4')]=function(_0x106a4b){return connect()['then'](function(){return new BPromise(function(_0x4df1f5,_0x1eeb53){return pm2['start'](_0x106a4b,function(_0x538dbd,_0x5397db){if(_0x538dbd){return _0x1eeb53(_0x538dbd);}pm2[_0xce52('0x5')]();return _0x4df1f5(_0x5397db);});});});};exports[_0xce52('0x6')]=function(_0x53b7f1){return connect()['then'](function(){return new BPromise(function(_0x4ed0bb,_0x163393){return pm2[_0xce52('0x6')](_0x53b7f1,function(_0x316b29,_0x16711a){if(_0x316b29){return _0x163393(_0x316b29);}pm2['disconnect']();return _0x4ed0bb(_0x16711a);});});});};exports[_0xce52('0x7')]=function(_0x3656da){return connect()['then'](function(){return new BPromise(function(_0x87545e,_0x1f13ae){return pm2[_0xce52('0x7')](_0x3656da,function(_0x2aa255,_0x289fb2){if(_0x2aa255){return _0x1f13ae(_0x2aa255);}pm2[_0xce52('0x5')]();return _0x87545e(_0x289fb2);});});});};exports['list']=function(){return connect()[_0xce52('0x8')](function(){return new BPromise(function(_0x1e146c,_0x51080f){return pm2['list'](function(_0x3a8d62,_0x5790c5){if(_0x3a8d62){return _0x51080f(_0x3a8d62);}pm2[_0xce52('0x5')]();return _0x1e146c(_0x5790c5);});});});};exports[_0xce52('0x9')]=function(_0x32feb4){return connect()[_0xce52('0x8')](function(){return new BPromise(function(_0x48b3eb,_0x1bef87){return pm2[_0xce52('0x9')](_0x32feb4,function(_0x459aa4,_0xbd2d89){if(_0x459aa4){return _0x1bef87(_0x459aa4);}pm2[_0xce52('0x5')]();return _0x48b3eb(_0xbd2d89);});});});};exports[_0xce52('0xa')]=function(_0x3d48dc){return connect()[_0xce52('0x8')](function(){return new BPromise(function(_0x4a6dca,_0x32f3da){return pm2[_0xce52('0xa')](_0x3d48dc,function(_0x4deef4,_0x4b2dc4){if(_0x4deef4){return _0x32f3da(_0x4deef4);}pm2[_0xce52('0x5')]();return _0x4a6dca(_0x4b2dc4);});});});};exports['dump']=function(){return connect()[_0xce52('0x8')](function(){return new BPromise(function(_0x558208,_0x2dbf20){return pm2[_0xce52('0xb')](function(_0x4a4b8f){if(_0x4a4b8f){return _0x2dbf20(_0x4a4b8f);}return _0x558208(_0xce52('0xc'));});});});};
\ No newline at end of file
+var _0xb382=['connected','start','then','disconnect','stop','restart','list','describe','delete','dump','saved','pm2','bluebird','connect'];(function(_0x36139d,_0xa45e95){var _0x16eb27=function(_0x2fb633){while(--_0x2fb633){_0x36139d['push'](_0x36139d['shift']());}};_0x16eb27(++_0xa45e95);}(_0xb382,0x193));var _0x2b38=function(_0x2da33a,_0x21cf38){_0x2da33a=_0x2da33a-0x0;var _0xdbb35=_0xb382[_0x2da33a];return _0xdbb35;};'use strict';var pm2=require(_0x2b38('0x0'));var BPromise=require(_0x2b38('0x1'));var config=require('./config');function connect(){return new BPromise(function(_0x647bc8,_0x22fc45){return pm2[_0x2b38('0x2')](function(_0xc8524f){if(_0xc8524f){return _0x22fc45(_0xc8524f);}return _0x647bc8(_0x2b38('0x3'));});});};exports[_0x2b38('0x4')]=function(_0x230964){return connect()[_0x2b38('0x5')](function(){return new BPromise(function(_0x5346c8,_0x3faa88){return pm2[_0x2b38('0x4')](_0x230964,function(_0x3dbc2a,_0x17a75e){if(_0x3dbc2a){return _0x3faa88(_0x3dbc2a);}pm2[_0x2b38('0x6')]();return _0x5346c8(_0x17a75e);});});});};exports['stop']=function(_0xb9b0b7){return connect()[_0x2b38('0x5')](function(){return new BPromise(function(_0x2fa1d5,_0x5b412e){return pm2[_0x2b38('0x7')](_0xb9b0b7,function(_0x1ecd77,_0x4191ef){if(_0x1ecd77){return _0x5b412e(_0x1ecd77);}pm2[_0x2b38('0x6')]();return _0x2fa1d5(_0x4191ef);});});});};exports[_0x2b38('0x8')]=function(_0x14d1d2){return connect()['then'](function(){return new BPromise(function(_0x57d98e,_0x39798b){return pm2[_0x2b38('0x8')](_0x14d1d2,function(_0xf3ebf9,_0x39b158){if(_0xf3ebf9){return _0x39798b(_0xf3ebf9);}pm2[_0x2b38('0x6')]();return _0x57d98e(_0x39b158);});});});};exports[_0x2b38('0x9')]=function(){return connect()[_0x2b38('0x5')](function(){return new BPromise(function(_0x2e58c0,_0x59dd5b){return pm2[_0x2b38('0x9')](function(_0x36db2b,_0x5a88cc){if(_0x36db2b){return _0x59dd5b(_0x36db2b);}pm2[_0x2b38('0x6')]();return _0x2e58c0(_0x5a88cc);});});});};exports[_0x2b38('0xa')]=function(_0x82b99f){return connect()['then'](function(){return new BPromise(function(_0x2b2b9a,_0x18848e){return pm2['describe'](_0x82b99f,function(_0x8f9a67,_0x360f6c){if(_0x8f9a67){return _0x18848e(_0x8f9a67);}pm2[_0x2b38('0x6')]();return _0x2b2b9a(_0x360f6c);});});});};exports[_0x2b38('0xb')]=function(_0x4878fc){return connect()['then'](function(){return new BPromise(function(_0x11927c,_0x359673){return pm2[_0x2b38('0xb')](_0x4878fc,function(_0x10a334,_0x631332){if(_0x10a334){return _0x359673(_0x10a334);}pm2[_0x2b38('0x6')]();return _0x11927c(_0x631332);});});});};exports[_0x2b38('0xc')]=function(){return connect()['then'](function(){return new BPromise(function(_0x2684a3,_0x3f4888){return pm2['dump'](function(_0x2a05c3){if(_0x2a05c3){return _0x3f4888(_0x2a05c3);}return _0x2684a3(_0x2b38('0xd'));});});});};
\ No newline at end of file