Built motion from commit a679711e.|2.6.15
[motion2.git] / server / config / pm2 / index.js
index 076e52d..2a3e34f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfeb7=['start','then','disconnect','restart','list','delete','saved','pm2','bluebird','connect'];(function(_0x3e883d,_0x50b9b7){var _0xf5bfa4=function(_0x329e){while(--_0x329e){_0x3e883d['push'](_0x3e883d['shift']());}};_0xf5bfa4(++_0x50b9b7);}(_0xfeb7,0x9d));var _0x7feb=function(_0x41dcad,_0x559923){_0x41dcad=_0x41dcad-0x0;var _0x588bcc=_0xfeb7[_0x41dcad];return _0x588bcc;};'use strict';var pm2=require(_0x7feb('0x0'));var BPromise=require(_0x7feb('0x1'));var config=require('./config');function connect(){return new BPromise(function(_0x2e5e69,_0x33730c){return pm2[_0x7feb('0x2')](function(_0x520d0d){if(_0x520d0d){return _0x33730c(_0x520d0d);}return _0x2e5e69('connected');});});};exports[_0x7feb('0x3')]=function(_0x25ebb3){return connect()[_0x7feb('0x4')](function(){return new BPromise(function(_0xdc12da,_0x527c51){return pm2['start'](_0x25ebb3,function(_0x4f6167,_0x30d0e3){if(_0x4f6167){return _0x527c51(_0x4f6167);}pm2[_0x7feb('0x5')]();return _0xdc12da(_0x30d0e3);});});});};exports['stop']=function(_0xe376dc){return connect()[_0x7feb('0x4')](function(){return new BPromise(function(_0x55fdda,_0x1dd781){return pm2['stop'](_0xe376dc,function(_0x528e41,_0x1a0adb){if(_0x528e41){return _0x1dd781(_0x528e41);}pm2['disconnect']();return _0x55fdda(_0x1a0adb);});});});};exports[_0x7feb('0x6')]=function(_0x31cca8){return connect()[_0x7feb('0x4')](function(){return new BPromise(function(_0x9e7d51,_0x3293d5){return pm2[_0x7feb('0x6')](_0x31cca8,function(_0x21211b,_0x179c58){if(_0x21211b){return _0x3293d5(_0x21211b);}pm2['disconnect']();return _0x9e7d51(_0x179c58);});});});};exports[_0x7feb('0x7')]=function(){return connect()['then'](function(){return new BPromise(function(_0x59ef7d,_0x2544bb){return pm2[_0x7feb('0x7')](function(_0x112828,_0x4f065a){if(_0x112828){return _0x2544bb(_0x112828);}pm2[_0x7feb('0x5')]();return _0x59ef7d(_0x4f065a);});});});};exports['describe']=function(_0xf226d4){return connect()[_0x7feb('0x4')](function(){return new BPromise(function(_0x13e62a,_0x1b6efe){return pm2['describe'](_0xf226d4,function(_0xb0d6e7,_0x45d254){if(_0xb0d6e7){return _0x1b6efe(_0xb0d6e7);}pm2[_0x7feb('0x5')]();return _0x13e62a(_0x45d254);});});});};exports[_0x7feb('0x8')]=function(_0x23c20d){return connect()[_0x7feb('0x4')](function(){return new BPromise(function(_0x7e6ced,_0x20e82c){return pm2[_0x7feb('0x8')](_0x23c20d,function(_0x1e1bf3,_0x4e5364){if(_0x1e1bf3){return _0x20e82c(_0x1e1bf3);}pm2[_0x7feb('0x5')]();return _0x7e6ced(_0x4e5364);});});});};exports['dump']=function(){return connect()[_0x7feb('0x4')](function(){return new BPromise(function(_0x540e79,_0x4a2664){return pm2['dump'](function(_0x5cdaf3){if(_0x5cdaf3){return _0x4a2664(_0x5cdaf3);}return _0x540e79(_0x7feb('0x9'));});});});};
\ No newline at end of file
+var _0xd311=['then','disconnect','stop','restart','list','delete','saved','pm2','bluebird','./config','connect','connected'];(function(_0x14b1e9,_0xdef18c){var _0x132088=function(_0x17e3ba){while(--_0x17e3ba){_0x14b1e9['push'](_0x14b1e9['shift']());}};_0x132088(++_0xdef18c);}(_0xd311,0x1c3));var _0x1d31=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xd311[_0x321bb2];return _0x9c12ed;};'use strict';var pm2=require(_0x1d31('0x0'));var BPromise=require(_0x1d31('0x1'));var config=require(_0x1d31('0x2'));function connect(){return new BPromise(function(_0x5db1da,_0x2cfac9){return pm2[_0x1d31('0x3')](function(_0x3b12c8){if(_0x3b12c8){return _0x2cfac9(_0x3b12c8);}return _0x5db1da(_0x1d31('0x4'));});});};exports['start']=function(_0x4f4a0d){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0xe18062,_0x5e333b){return pm2['start'](_0x4f4a0d,function(_0x3add34,_0x30d96b){if(_0x3add34){return _0x5e333b(_0x3add34);}pm2[_0x1d31('0x6')]();return _0xe18062(_0x30d96b);});});});};exports[_0x1d31('0x7')]=function(_0x425e74){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0x52875b,_0x1f2acd){return pm2[_0x1d31('0x7')](_0x425e74,function(_0x2b3999,_0x509f9e){if(_0x2b3999){return _0x1f2acd(_0x2b3999);}pm2[_0x1d31('0x6')]();return _0x52875b(_0x509f9e);});});});};exports[_0x1d31('0x8')]=function(_0x43c893){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0xd8e64d,_0x4def55){return pm2[_0x1d31('0x8')](_0x43c893,function(_0x3b6ee3,_0x1e4821){if(_0x3b6ee3){return _0x4def55(_0x3b6ee3);}pm2['disconnect']();return _0xd8e64d(_0x1e4821);});});});};exports[_0x1d31('0x9')]=function(){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0x1d6089,_0x4f6cfb){return pm2['list'](function(_0x1e7faf,_0x45c076){if(_0x1e7faf){return _0x4f6cfb(_0x1e7faf);}pm2[_0x1d31('0x6')]();return _0x1d6089(_0x45c076);});});});};exports['describe']=function(_0x31f2c9){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0x3df46d,_0x5df49e){return pm2['describe'](_0x31f2c9,function(_0x3318b7,_0x287461){if(_0x3318b7){return _0x5df49e(_0x3318b7);}pm2[_0x1d31('0x6')]();return _0x3df46d(_0x287461);});});});};exports[_0x1d31('0xa')]=function(_0x5dee46){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0x1c0690,_0x46d804){return pm2['delete'](_0x5dee46,function(_0x1bcec3,_0x36477){if(_0x1bcec3){return _0x46d804(_0x1bcec3);}pm2[_0x1d31('0x6')]();return _0x1c0690(_0x36477);});});});};exports['dump']=function(){return connect()[_0x1d31('0x5')](function(){return new BPromise(function(_0x44b088,_0x4d6cc9){return pm2['dump'](function(_0x1e0a63){if(_0x1e0a63){return _0x4d6cc9(_0x1e0a63);}return _0x44b088(_0x1d31('0xb'));});});});};
\ No newline at end of file