Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / config / pm2 / index.js
index 5275cd7..e46826b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4e39=['then','restart','list','describe','delete','dump','pm2','bluebird','./config','connected','start','disconnect','stop'];(function(_0xb0de07,_0x3ca2a0){var _0x4633d8=function(_0x2368e0){while(--_0x2368e0){_0xb0de07['push'](_0xb0de07['shift']());}};_0x4633d8(++_0x3ca2a0);}(_0x4e39,0xfd));var _0x94e3=function(_0x4bb94b,_0x50628a){_0x4bb94b=_0x4bb94b-0x0;var _0x36dcc6=_0x4e39[_0x4bb94b];return _0x36dcc6;};'use strict';var pm2=require(_0x94e3('0x0'));var BPromise=require(_0x94e3('0x1'));var config=require(_0x94e3('0x2'));function connect(){return new BPromise(function(_0x4a61c9,_0x283546){return pm2['connect'](function(_0x26a113){if(_0x26a113){return _0x283546(_0x26a113);}return _0x4a61c9(_0x94e3('0x3'));});});};exports[_0x94e3('0x4')]=function(_0x5174f7){return connect()['then'](function(){return new BPromise(function(_0x3f6970,_0x481e18){return pm2['start'](_0x5174f7,function(_0x1b607a,_0x1a0dd1){if(_0x1b607a){return _0x481e18(_0x1b607a);}pm2[_0x94e3('0x5')]();return _0x3f6970(_0x1a0dd1);});});});};exports[_0x94e3('0x6')]=function(_0x4ddf2f){return connect()[_0x94e3('0x7')](function(){return new BPromise(function(_0x30aa3f,_0x5bdfb6){return pm2[_0x94e3('0x6')](_0x4ddf2f,function(_0x425565,_0xa284f0){if(_0x425565){return _0x5bdfb6(_0x425565);}pm2[_0x94e3('0x5')]();return _0x30aa3f(_0xa284f0);});});});};exports[_0x94e3('0x8')]=function(_0x357f62){return connect()['then'](function(){return new BPromise(function(_0x4bcb64,_0x4ab42e){return pm2[_0x94e3('0x8')](_0x357f62,function(_0x212171,_0x241f36){if(_0x212171){return _0x4ab42e(_0x212171);}pm2[_0x94e3('0x5')]();return _0x4bcb64(_0x241f36);});});});};exports[_0x94e3('0x9')]=function(){return connect()['then'](function(){return new BPromise(function(_0x5e622e,_0x5d5a56){return pm2['list'](function(_0x2e9fbb,_0x45e2d8){if(_0x2e9fbb){return _0x5d5a56(_0x2e9fbb);}pm2[_0x94e3('0x5')]();return _0x5e622e(_0x45e2d8);});});});};exports[_0x94e3('0xa')]=function(_0x3e8f8e){return connect()[_0x94e3('0x7')](function(){return new BPromise(function(_0x1d66f3,_0x1ade4b){return pm2[_0x94e3('0xa')](_0x3e8f8e,function(_0x46e9e6,_0x1d0f5a){if(_0x46e9e6){return _0x1ade4b(_0x46e9e6);}pm2[_0x94e3('0x5')]();return _0x1d66f3(_0x1d0f5a);});});});};exports[_0x94e3('0xb')]=function(_0x580064){return connect()[_0x94e3('0x7')](function(){return new BPromise(function(_0x50815c,_0x46a3c0){return pm2[_0x94e3('0xb')](_0x580064,function(_0x5afee4,_0x896f57){if(_0x5afee4){return _0x46a3c0(_0x5afee4);}pm2[_0x94e3('0x5')]();return _0x50815c(_0x896f57);});});});};exports['dump']=function(){return connect()['then'](function(){return new BPromise(function(_0x58dd71,_0x5a6639){return pm2[_0x94e3('0xc')](function(_0x3a60fa){if(_0x3a60fa){return _0x5a6639(_0x3a60fa);}return _0x58dd71('saved');});});});};
\ No newline at end of file
+var _0x4c36=['stop','restart','list','describe','delete','saved','bluebird','./config','connect','connected','then','start','disconnect'];(function(_0x5eda7f,_0x10c0a){var _0x8f1e4a=function(_0x1dadc1){while(--_0x1dadc1){_0x5eda7f['push'](_0x5eda7f['shift']());}};_0x8f1e4a(++_0x10c0a);}(_0x4c36,0xf0));var _0x64c3=function(_0x1a1128,_0x1784d8){_0x1a1128=_0x1a1128-0x0;var _0x1f5bd2=_0x4c36[_0x1a1128];return _0x1f5bd2;};'use strict';var pm2=require('pm2');var BPromise=require(_0x64c3('0x0'));var config=require(_0x64c3('0x1'));function connect(){return new BPromise(function(_0x237ee8,_0x26b4c8){return pm2[_0x64c3('0x2')](function(_0x5cdb9e){if(_0x5cdb9e){return _0x26b4c8(_0x5cdb9e);}return _0x237ee8(_0x64c3('0x3'));});});};exports['start']=function(_0x431b43){return connect()[_0x64c3('0x4')](function(){return new BPromise(function(_0x17f593,_0x5bb250){return pm2[_0x64c3('0x5')](_0x431b43,function(_0x32546b,_0x1344dd){if(_0x32546b){return _0x5bb250(_0x32546b);}pm2[_0x64c3('0x6')]();return _0x17f593(_0x1344dd);});});});};exports[_0x64c3('0x7')]=function(_0x33b10b){return connect()[_0x64c3('0x4')](function(){return new BPromise(function(_0x1138ce,_0x4f9cbc){return pm2['stop'](_0x33b10b,function(_0x2c9ee9,_0x4c0643){if(_0x2c9ee9){return _0x4f9cbc(_0x2c9ee9);}pm2['disconnect']();return _0x1138ce(_0x4c0643);});});});};exports[_0x64c3('0x8')]=function(_0xa75bfe){return connect()[_0x64c3('0x4')](function(){return new BPromise(function(_0x420958,_0x34c8b8){return pm2[_0x64c3('0x8')](_0xa75bfe,function(_0x359cd4,_0x1e3d86){if(_0x359cd4){return _0x34c8b8(_0x359cd4);}pm2['disconnect']();return _0x420958(_0x1e3d86);});});});};exports[_0x64c3('0x9')]=function(){return connect()['then'](function(){return new BPromise(function(_0x5cfec7,_0x382231){return pm2['list'](function(_0x29b9ff,_0x16ebf8){if(_0x29b9ff){return _0x382231(_0x29b9ff);}pm2[_0x64c3('0x6')]();return _0x5cfec7(_0x16ebf8);});});});};exports[_0x64c3('0xa')]=function(_0x35b13d){return connect()['then'](function(){return new BPromise(function(_0x5d4115,_0x498d34){return pm2[_0x64c3('0xa')](_0x35b13d,function(_0x201894,_0x43f16e){if(_0x201894){return _0x498d34(_0x201894);}pm2[_0x64c3('0x6')]();return _0x5d4115(_0x43f16e);});});});};exports[_0x64c3('0xb')]=function(_0x4256f){return connect()[_0x64c3('0x4')](function(){return new BPromise(function(_0x4eb6bc,_0x4346a0){return pm2['delete'](_0x4256f,function(_0x3bc605,_0x135513){if(_0x3bc605){return _0x4346a0(_0x3bc605);}pm2[_0x64c3('0x6')]();return _0x4eb6bc(_0x135513);});});});};exports['dump']=function(){return connect()[_0x64c3('0x4')](function(){return new BPromise(function(_0x25c766,_0x5050b6){return pm2['dump'](function(_0x4fd4c4){if(_0x4fd4c4){return _0x5050b6(_0x4fd4c4);}return _0x25c766(_0x64c3('0xc'));});});});};
\ No newline at end of file