Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / config / pm2 / index.js
index ac8b280..8e5abfa 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2bae=['connected','start','disconnect','stop','then','restart','list','describe','delete','dump','saved','pm2','bluebird','./config','connect'];(function(_0xc23bf6,_0x52f418){var _0x4ee0f5=function(_0x12dc5b){while(--_0x12dc5b){_0xc23bf6['push'](_0xc23bf6['shift']());}};_0x4ee0f5(++_0x52f418);}(_0x2bae,0x164));var _0xe2ba=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x2bae[_0x3dd15e];return _0x231fd0;};'use strict';var pm2=require(_0xe2ba('0x0'));var BPromise=require(_0xe2ba('0x1'));var config=require(_0xe2ba('0x2'));function connect(){return new BPromise(function(_0x45c8bc,_0x3c97d7){return pm2[_0xe2ba('0x3')](function(_0x5e0e85){if(_0x5e0e85){return _0x3c97d7(_0x5e0e85);}return _0x45c8bc(_0xe2ba('0x4'));});});};exports['start']=function(_0x442279){return connect()['then'](function(){return new BPromise(function(_0x15e6d5,_0x129677){return pm2[_0xe2ba('0x5')](_0x442279,function(_0x4933a0,_0x23a917){if(_0x4933a0){return _0x129677(_0x4933a0);}pm2[_0xe2ba('0x6')]();return _0x15e6d5(_0x23a917);});});});};exports[_0xe2ba('0x7')]=function(_0x3d5a86){return connect()['then'](function(){return new BPromise(function(_0x5f31b0,_0xe703bc){return pm2[_0xe2ba('0x7')](_0x3d5a86,function(_0x2fcfd1,_0x12b7af){if(_0x2fcfd1){return _0xe703bc(_0x2fcfd1);}pm2[_0xe2ba('0x6')]();return _0x5f31b0(_0x12b7af);});});});};exports['restart']=function(_0x3425f7){return connect()[_0xe2ba('0x8')](function(){return new BPromise(function(_0x1baf09,_0x3ff234){return pm2[_0xe2ba('0x9')](_0x3425f7,function(_0x42cedd,_0x2ab70c){if(_0x42cedd){return _0x3ff234(_0x42cedd);}pm2[_0xe2ba('0x6')]();return _0x1baf09(_0x2ab70c);});});});};exports[_0xe2ba('0xa')]=function(){return connect()[_0xe2ba('0x8')](function(){return new BPromise(function(_0x1cc0b8,_0x51fd63){return pm2[_0xe2ba('0xa')](function(_0x1b1dac,_0x5f48a2){if(_0x1b1dac){return _0x51fd63(_0x1b1dac);}pm2[_0xe2ba('0x6')]();return _0x1cc0b8(_0x5f48a2);});});});};exports[_0xe2ba('0xb')]=function(_0x1ecee0){return connect()[_0xe2ba('0x8')](function(){return new BPromise(function(_0x718656,_0x4a30ce){return pm2[_0xe2ba('0xb')](_0x1ecee0,function(_0x402de2,_0x3bf78c){if(_0x402de2){return _0x4a30ce(_0x402de2);}pm2['disconnect']();return _0x718656(_0x3bf78c);});});});};exports[_0xe2ba('0xc')]=function(_0xeee7a4){return connect()[_0xe2ba('0x8')](function(){return new BPromise(function(_0x21fb60,_0x10825d){return pm2[_0xe2ba('0xc')](_0xeee7a4,function(_0x6f7201,_0x96bfad){if(_0x6f7201){return _0x10825d(_0x6f7201);}pm2[_0xe2ba('0x6')]();return _0x21fb60(_0x96bfad);});});});};exports[_0xe2ba('0xd')]=function(){return connect()[_0xe2ba('0x8')](function(){return new BPromise(function(_0x5f4b75,_0x22726e){return pm2[_0xe2ba('0xd')](function(_0x482829){if(_0x482829){return _0x22726e(_0x482829);}return _0x5f4b75(_0xe2ba('0xe'));});});});};
\ No newline at end of file
+var _0xfd70=['delete','dump','bluebird','./config','connect','connected','start','then','disconnect','stop','restart','list','describe'];(function(_0xc99b00,_0x16f60f){var _0x31369d=function(_0x46c31d){while(--_0x46c31d){_0xc99b00['push'](_0xc99b00['shift']());}};_0x31369d(++_0x16f60f);}(_0xfd70,0x154));var _0x0fd7=function(_0x4ec520,_0x15fee2){_0x4ec520=_0x4ec520-0x0;var _0xed49d7=_0xfd70[_0x4ec520];return _0xed49d7;};'use strict';var pm2=require('pm2');var BPromise=require(_0x0fd7('0x0'));var config=require(_0x0fd7('0x1'));function connect(){return new BPromise(function(_0x43e686,_0x581da6){return pm2[_0x0fd7('0x2')](function(_0x2f5478){if(_0x2f5478){return _0x581da6(_0x2f5478);}return _0x43e686(_0x0fd7('0x3'));});});};exports[_0x0fd7('0x4')]=function(_0x317b14){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0x1d95bf,_0x4726c7){return pm2[_0x0fd7('0x4')](_0x317b14,function(_0x3934c6,_0x22747e){if(_0x3934c6){return _0x4726c7(_0x3934c6);}pm2[_0x0fd7('0x6')]();return _0x1d95bf(_0x22747e);});});});};exports[_0x0fd7('0x7')]=function(_0x4f71ac){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0x2cba3c,_0x468f3a){return pm2[_0x0fd7('0x7')](_0x4f71ac,function(_0x186612,_0x3792fd){if(_0x186612){return _0x468f3a(_0x186612);}pm2[_0x0fd7('0x6')]();return _0x2cba3c(_0x3792fd);});});});};exports[_0x0fd7('0x8')]=function(_0xe2a59f){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0x4afb9a,_0x257d3e){return pm2[_0x0fd7('0x8')](_0xe2a59f,function(_0x54156e,_0x4f919c){if(_0x54156e){return _0x257d3e(_0x54156e);}pm2[_0x0fd7('0x6')]();return _0x4afb9a(_0x4f919c);});});});};exports[_0x0fd7('0x9')]=function(){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0x5cc6a4,_0x5247a9){return pm2[_0x0fd7('0x9')](function(_0x31ba4f,_0x16b709){if(_0x31ba4f){return _0x5247a9(_0x31ba4f);}pm2[_0x0fd7('0x6')]();return _0x5cc6a4(_0x16b709);});});});};exports[_0x0fd7('0xa')]=function(_0xff44cd){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0x13b9f5,_0x314f8b){return pm2[_0x0fd7('0xa')](_0xff44cd,function(_0x35a79b,_0x23fa85){if(_0x35a79b){return _0x314f8b(_0x35a79b);}pm2[_0x0fd7('0x6')]();return _0x13b9f5(_0x23fa85);});});});};exports['delete']=function(_0xb9bd1e){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0x1b8704,_0x2cf2d3){return pm2[_0x0fd7('0xb')](_0xb9bd1e,function(_0x427c57,_0x1546e4){if(_0x427c57){return _0x2cf2d3(_0x427c57);}pm2[_0x0fd7('0x6')]();return _0x1b8704(_0x1546e4);});});});};exports[_0x0fd7('0xc')]=function(){return connect()[_0x0fd7('0x5')](function(){return new BPromise(function(_0xe327eb,_0x37341f){return pm2[_0x0fd7('0xc')](function(_0x597b12){if(_0x597b12){return _0x37341f(_0x597b12);}return _0xe327eb('saved');});});});};
\ No newline at end of file