Built motion from commit (unavailable).|2.5.30
[motion2.git] / server / config / pm2 / index.js
index 57336a5..6de08b1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd9c8=['connected','start','stop','then','restart','list','disconnect','describe','delete','dump','pm2','bluebird','connect'];(function(_0x34e351,_0x521923){var _0x23f724=function(_0x37bb47){while(--_0x37bb47){_0x34e351['push'](_0x34e351['shift']());}};_0x23f724(++_0x521923);}(_0xd9c8,0x15c));var _0x8d9c=function(_0x173441,_0x26b0d9){_0x173441=_0x173441-0x0;var _0x2423a8=_0xd9c8[_0x173441];return _0x2423a8;};'use strict';var pm2=require(_0x8d9c('0x0'));var BPromise=require(_0x8d9c('0x1'));var config=require('./config');function connect(){return new BPromise(function(_0xf6e1a,_0x240e64){return pm2[_0x8d9c('0x2')](function(_0xaecd58){if(_0xaecd58){return _0x240e64(_0xaecd58);}return _0xf6e1a(_0x8d9c('0x3'));});});};exports[_0x8d9c('0x4')]=function(_0xa7b017){return connect()['then'](function(){return new BPromise(function(_0x4c3cff,_0x53567f){return pm2[_0x8d9c('0x4')](_0xa7b017,function(_0x1ebb5a,_0x475edd){if(_0x1ebb5a){return _0x53567f(_0x1ebb5a);}pm2['disconnect']();return _0x4c3cff(_0x475edd);});});});};exports[_0x8d9c('0x5')]=function(_0x3de357){return connect()[_0x8d9c('0x6')](function(){return new BPromise(function(_0x36573e,_0x2db4b3){return pm2[_0x8d9c('0x5')](_0x3de357,function(_0xa2bf79,_0xaa0a72){if(_0xa2bf79){return _0x2db4b3(_0xa2bf79);}pm2['disconnect']();return _0x36573e(_0xaa0a72);});});});};exports[_0x8d9c('0x7')]=function(_0x4c988f){return connect()[_0x8d9c('0x6')](function(){return new BPromise(function(_0x5d31e7,_0x30e1c9){return pm2['restart'](_0x4c988f,function(_0x5afaa3,_0x3b24df){if(_0x5afaa3){return _0x30e1c9(_0x5afaa3);}pm2['disconnect']();return _0x5d31e7(_0x3b24df);});});});};exports[_0x8d9c('0x8')]=function(){return connect()[_0x8d9c('0x6')](function(){return new BPromise(function(_0x85cd54,_0xcfead2){return pm2[_0x8d9c('0x8')](function(_0x28060e,_0x1110f9){if(_0x28060e){return _0xcfead2(_0x28060e);}pm2[_0x8d9c('0x9')]();return _0x85cd54(_0x1110f9);});});});};exports[_0x8d9c('0xa')]=function(_0xea045b){return connect()['then'](function(){return new BPromise(function(_0x39df23,_0x38ea38){return pm2[_0x8d9c('0xa')](_0xea045b,function(_0x24c036,_0x1a071d){if(_0x24c036){return _0x38ea38(_0x24c036);}pm2[_0x8d9c('0x9')]();return _0x39df23(_0x1a071d);});});});};exports[_0x8d9c('0xb')]=function(_0x1c8d6f){return connect()[_0x8d9c('0x6')](function(){return new BPromise(function(_0x44896d,_0x48fffd){return pm2[_0x8d9c('0xb')](_0x1c8d6f,function(_0x6671d7,_0x5e469a){if(_0x6671d7){return _0x48fffd(_0x6671d7);}pm2[_0x8d9c('0x9')]();return _0x44896d(_0x5e469a);});});});};exports[_0x8d9c('0xc')]=function(){return connect()['then'](function(){return new BPromise(function(_0x3ba938,_0x2ba1c8){return pm2[_0x8d9c('0xc')](function(_0x3531cb){if(_0x3531cb){return _0x2ba1c8(_0x3531cb);}return _0x3ba938('saved');});});});};
\ No newline at end of file
+var _0x3ffb=['then','disconnect','stop','restart','list','delete','dump','pm2','bluebird','./config','connected','start'];(function(_0x5471ec,_0x1ce81a){var _0x121d4c=function(_0xefb655){while(--_0xefb655){_0x5471ec['push'](_0x5471ec['shift']());}};_0x121d4c(++_0x1ce81a);}(_0x3ffb,0x13f));var _0xb3ff=function(_0xd242ac,_0x56a837){_0xd242ac=_0xd242ac-0x0;var _0x33bcb5=_0x3ffb[_0xd242ac];return _0x33bcb5;};'use strict';var pm2=require(_0xb3ff('0x0'));var BPromise=require(_0xb3ff('0x1'));var config=require(_0xb3ff('0x2'));function connect(){return new BPromise(function(_0x30e6b5,_0x29e19e){return pm2['connect'](function(_0x940654){if(_0x940654){return _0x29e19e(_0x940654);}return _0x30e6b5(_0xb3ff('0x3'));});});};exports[_0xb3ff('0x4')]=function(_0x10de1f){return connect()[_0xb3ff('0x5')](function(){return new BPromise(function(_0x3b5b56,_0x45d514){return pm2['start'](_0x10de1f,function(_0x301d72,_0x99d772){if(_0x301d72){return _0x45d514(_0x301d72);}pm2[_0xb3ff('0x6')]();return _0x3b5b56(_0x99d772);});});});};exports[_0xb3ff('0x7')]=function(_0x4e3533){return connect()['then'](function(){return new BPromise(function(_0x1d1411,_0x36c3af){return pm2[_0xb3ff('0x7')](_0x4e3533,function(_0x59d890,_0x4ced35){if(_0x59d890){return _0x36c3af(_0x59d890);}pm2[_0xb3ff('0x6')]();return _0x1d1411(_0x4ced35);});});});};exports[_0xb3ff('0x8')]=function(_0x522efa){return connect()[_0xb3ff('0x5')](function(){return new BPromise(function(_0x2b6ecb,_0x8e9050){return pm2[_0xb3ff('0x8')](_0x522efa,function(_0x290f80,_0x2a7527){if(_0x290f80){return _0x8e9050(_0x290f80);}pm2[_0xb3ff('0x6')]();return _0x2b6ecb(_0x2a7527);});});});};exports[_0xb3ff('0x9')]=function(){return connect()['then'](function(){return new BPromise(function(_0x2f548b,_0x2f8f65){return pm2[_0xb3ff('0x9')](function(_0xb7cfa0,_0xb0c045){if(_0xb7cfa0){return _0x2f8f65(_0xb7cfa0);}pm2[_0xb3ff('0x6')]();return _0x2f548b(_0xb0c045);});});});};exports['describe']=function(_0x16ade0){return connect()['then'](function(){return new BPromise(function(_0x3347c4,_0xc62f03){return pm2['describe'](_0x16ade0,function(_0xe716fb,_0x3713f7){if(_0xe716fb){return _0xc62f03(_0xe716fb);}pm2[_0xb3ff('0x6')]();return _0x3347c4(_0x3713f7);});});});};exports[_0xb3ff('0xa')]=function(_0x4d8ea6){return connect()[_0xb3ff('0x5')](function(){return new BPromise(function(_0x3e85c7,_0x2fe7ca){return pm2['delete'](_0x4d8ea6,function(_0x16c06b,_0x502e40){if(_0x16c06b){return _0x2fe7ca(_0x16c06b);}pm2[_0xb3ff('0x6')]();return _0x3e85c7(_0x502e40);});});});};exports['dump']=function(){return connect()[_0xb3ff('0x5')](function(){return new BPromise(function(_0x3003a2,_0x5c4a7e){return pm2[_0xb3ff('0xb')](function(_0x1cfaea){if(_0x1cfaea){return _0x5c4a7e(_0x1cfaea);}return _0x3003a2('saved');});});});};
\ No newline at end of file