Built motion from commit ff78e754.|2.6.29
[motion2.git] / server / config / pm2 / index.js
index 34b7118..58ee7d8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x17c9=['describe','delete','dump','pm2','bluebird','./config','connect','connected','then','start','disconnect','stop','restart','list'];(function(_0x284a61,_0x231686){var _0x220e3c=function(_0x104496){while(--_0x104496){_0x284a61['push'](_0x284a61['shift']());}};_0x220e3c(++_0x231686);}(_0x17c9,0x145));var _0x917c=function(_0x4a53d,_0x58a95e){_0x4a53d=_0x4a53d-0x0;var _0x27410e=_0x17c9[_0x4a53d];return _0x27410e;};'use strict';var pm2=require(_0x917c('0x0'));var BPromise=require(_0x917c('0x1'));var config=require(_0x917c('0x2'));function connect(){return new BPromise(function(_0x29721d,_0x29cd0e){return pm2[_0x917c('0x3')](function(_0xf85f87){if(_0xf85f87){return _0x29cd0e(_0xf85f87);}return _0x29721d(_0x917c('0x4'));});});};exports['start']=function(_0x41b528){return connect()[_0x917c('0x5')](function(){return new BPromise(function(_0x1c95b5,_0x2ae0ca){return pm2[_0x917c('0x6')](_0x41b528,function(_0x2521ee,_0x3d37b4){if(_0x2521ee){return _0x2ae0ca(_0x2521ee);}pm2[_0x917c('0x7')]();return _0x1c95b5(_0x3d37b4);});});});};exports[_0x917c('0x8')]=function(_0x3d5bce){return connect()['then'](function(){return new BPromise(function(_0x58ef22,_0x458954){return pm2[_0x917c('0x8')](_0x3d5bce,function(_0x5d6158,_0x414ee8){if(_0x5d6158){return _0x458954(_0x5d6158);}pm2['disconnect']();return _0x58ef22(_0x414ee8);});});});};exports['restart']=function(_0x133287){return connect()[_0x917c('0x5')](function(){return new BPromise(function(_0xb78693,_0x173db6){return pm2[_0x917c('0x9')](_0x133287,function(_0x37579c,_0x436f58){if(_0x37579c){return _0x173db6(_0x37579c);}pm2[_0x917c('0x7')]();return _0xb78693(_0x436f58);});});});};exports[_0x917c('0xa')]=function(){return connect()['then'](function(){return new BPromise(function(_0xbba410,_0x131a42){return pm2[_0x917c('0xa')](function(_0x3c785,_0x5d9db1){if(_0x3c785){return _0x131a42(_0x3c785);}pm2[_0x917c('0x7')]();return _0xbba410(_0x5d9db1);});});});};exports['describe']=function(_0x3759bd){return connect()[_0x917c('0x5')](function(){return new BPromise(function(_0x5a6b0a,_0x36f021){return pm2[_0x917c('0xb')](_0x3759bd,function(_0x2112c7,_0x291903){if(_0x2112c7){return _0x36f021(_0x2112c7);}pm2[_0x917c('0x7')]();return _0x5a6b0a(_0x291903);});});});};exports[_0x917c('0xc')]=function(_0x1a2fa1){return connect()['then'](function(){return new BPromise(function(_0x282440,_0x24ea97){return pm2['delete'](_0x1a2fa1,function(_0x17fd1b,_0x34caa1){if(_0x17fd1b){return _0x24ea97(_0x17fd1b);}pm2[_0x917c('0x7')]();return _0x282440(_0x34caa1);});});});};exports[_0x917c('0xd')]=function(){return connect()[_0x917c('0x5')](function(){return new BPromise(function(_0x5675ce,_0x25669e){return pm2[_0x917c('0xd')](function(_0x2cfdb4){if(_0x2cfdb4){return _0x25669e(_0x2cfdb4);}return _0x5675ce('saved');});});});};
\ No newline at end of file
+var _0xb5f3=['bluebird','./config','connect','then','stop','disconnect','restart','list','describe','delete','dump','saved','pm2'];(function(_0x547465,_0x456777){var _0x2fb2a9=function(_0x456e46){while(--_0x456e46){_0x547465['push'](_0x547465['shift']());}};_0x2fb2a9(++_0x456777);}(_0xb5f3,0x137));var _0x3b5f=function(_0x12254f,_0x100cfe){_0x12254f=_0x12254f-0x0;var _0x3a4fa2=_0xb5f3[_0x12254f];return _0x3a4fa2;};'use strict';var pm2=require(_0x3b5f('0x0'));var BPromise=require(_0x3b5f('0x1'));var config=require(_0x3b5f('0x2'));function connect(){return new BPromise(function(_0x5ba349,_0x353a99){return pm2[_0x3b5f('0x3')](function(_0x3a2c25){if(_0x3a2c25){return _0x353a99(_0x3a2c25);}return _0x5ba349('connected');});});};exports['start']=function(_0x32a452){return connect()[_0x3b5f('0x4')](function(){return new BPromise(function(_0x3ba5d5,_0x42d102){return pm2['start'](_0x32a452,function(_0x2db4ad,_0x1b6d67){if(_0x2db4ad){return _0x42d102(_0x2db4ad);}pm2['disconnect']();return _0x3ba5d5(_0x1b6d67);});});});};exports[_0x3b5f('0x5')]=function(_0x48597e){return connect()[_0x3b5f('0x4')](function(){return new BPromise(function(_0x379b70,_0x2c37f6){return pm2[_0x3b5f('0x5')](_0x48597e,function(_0x5f5a5f,_0x13be1a){if(_0x5f5a5f){return _0x2c37f6(_0x5f5a5f);}pm2[_0x3b5f('0x6')]();return _0x379b70(_0x13be1a);});});});};exports[_0x3b5f('0x7')]=function(_0x7e5e65){return connect()[_0x3b5f('0x4')](function(){return new BPromise(function(_0x57267a,_0x4df48b){return pm2['restart'](_0x7e5e65,function(_0x3f40ab,_0xe9e58d){if(_0x3f40ab){return _0x4df48b(_0x3f40ab);}pm2[_0x3b5f('0x6')]();return _0x57267a(_0xe9e58d);});});});};exports[_0x3b5f('0x8')]=function(){return connect()[_0x3b5f('0x4')](function(){return new BPromise(function(_0x391dc3,_0xfa74a2){return pm2[_0x3b5f('0x8')](function(_0x4f522b,_0x3d960d){if(_0x4f522b){return _0xfa74a2(_0x4f522b);}pm2[_0x3b5f('0x6')]();return _0x391dc3(_0x3d960d);});});});};exports[_0x3b5f('0x9')]=function(_0x5f5a26){return connect()[_0x3b5f('0x4')](function(){return new BPromise(function(_0x569543,_0x5df2e7){return pm2[_0x3b5f('0x9')](_0x5f5a26,function(_0x53fc3f,_0x28b6c1){if(_0x53fc3f){return _0x5df2e7(_0x53fc3f);}pm2[_0x3b5f('0x6')]();return _0x569543(_0x28b6c1);});});});};exports[_0x3b5f('0xa')]=function(_0x15c66c){return connect()['then'](function(){return new BPromise(function(_0x2db25f,_0x4933c8){return pm2[_0x3b5f('0xa')](_0x15c66c,function(_0x19d6fe,_0x19cdfb){if(_0x19d6fe){return _0x4933c8(_0x19d6fe);}pm2['disconnect']();return _0x2db25f(_0x19cdfb);});});});};exports['dump']=function(){return connect()[_0x3b5f('0x4')](function(){return new BPromise(function(_0x2fab29,_0x30bfe7){return pm2[_0x3b5f('0xb')](function(_0x58e4cb){if(_0x58e4cb){return _0x30bfe7(_0x58e4cb);}return _0x2fab29(_0x3b5f('0xc'));});});});};
\ No newline at end of file