Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / config / pm2 / index.js
index d670d8d..394ecf1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x321d=['then','disconnect','stop','restart','list','describe','delete','saved','bluebird','./config','connect','connected','start'];(function(_0x503588,_0x526c21){var _0x185e99=function(_0x89193a){while(--_0x89193a){_0x503588['push'](_0x503588['shift']());}};_0x185e99(++_0x526c21);}(_0x321d,0xa4));var _0xd321=function(_0x5aa2d7,_0x5260f6){_0x5aa2d7=_0x5aa2d7-0x0;var _0x2f3bb8=_0x321d[_0x5aa2d7];return _0x2f3bb8;};'use strict';var pm2=require('pm2');var BPromise=require(_0xd321('0x0'));var config=require(_0xd321('0x1'));function connect(){return new BPromise(function(_0x4792c5,_0x3ae0b4){return pm2[_0xd321('0x2')](function(_0x19bbb8){if(_0x19bbb8){return _0x3ae0b4(_0x19bbb8);}return _0x4792c5(_0xd321('0x3'));});});};exports[_0xd321('0x4')]=function(_0x16fc1a){return connect()[_0xd321('0x5')](function(){return new BPromise(function(_0x27f738,_0x44f07d){return pm2['start'](_0x16fc1a,function(_0x14d62a,_0x41d2c3){if(_0x14d62a){return _0x44f07d(_0x14d62a);}pm2[_0xd321('0x6')]();return _0x27f738(_0x41d2c3);});});});};exports['stop']=function(_0x2979f8){return connect()[_0xd321('0x5')](function(){return new BPromise(function(_0x1777aa,_0xf76418){return pm2[_0xd321('0x7')](_0x2979f8,function(_0x523cb2,_0x5b8d0b){if(_0x523cb2){return _0xf76418(_0x523cb2);}pm2[_0xd321('0x6')]();return _0x1777aa(_0x5b8d0b);});});});};exports[_0xd321('0x8')]=function(_0x231598){return connect()[_0xd321('0x5')](function(){return new BPromise(function(_0x1abce8,_0x342504){return pm2['restart'](_0x231598,function(_0xfaccc7,_0x18d8a0){if(_0xfaccc7){return _0x342504(_0xfaccc7);}pm2[_0xd321('0x6')]();return _0x1abce8(_0x18d8a0);});});});};exports[_0xd321('0x9')]=function(){return connect()[_0xd321('0x5')](function(){return new BPromise(function(_0xfd7d82,_0x5df44d){return pm2[_0xd321('0x9')](function(_0x2d3d38,_0x1adda3){if(_0x2d3d38){return _0x5df44d(_0x2d3d38);}pm2[_0xd321('0x6')]();return _0xfd7d82(_0x1adda3);});});});};exports[_0xd321('0xa')]=function(_0x41b7dc){return connect()[_0xd321('0x5')](function(){return new BPromise(function(_0x3e7f98,_0x3edb59){return pm2[_0xd321('0xa')](_0x41b7dc,function(_0x1ec945,_0x34c099){if(_0x1ec945){return _0x3edb59(_0x1ec945);}pm2[_0xd321('0x6')]();return _0x3e7f98(_0x34c099);});});});};exports[_0xd321('0xb')]=function(_0x49e83a){return connect()['then'](function(){return new BPromise(function(_0x4e6666,_0x150bff){return pm2['delete'](_0x49e83a,function(_0x5ae961,_0x50b92a){if(_0x5ae961){return _0x150bff(_0x5ae961);}pm2[_0xd321('0x6')]();return _0x4e6666(_0x50b92a);});});});};exports['dump']=function(){return connect()['then'](function(){return new BPromise(function(_0x176c57,_0x33ef44){return pm2['dump'](function(_0x360025){if(_0x360025){return _0x33ef44(_0x360025);}return _0x176c57(_0xd321('0xc'));});});});};
\ No newline at end of file
+var _0x837e=['connect','connected','start','stop','disconnect','restart','then','list','describe','delete','dump','saved','./config'];(function(_0x77e916,_0x3d82c4){var _0x4db828=function(_0x43925b){while(--_0x43925b){_0x77e916['push'](_0x77e916['shift']());}};_0x4db828(++_0x3d82c4);}(_0x837e,0xcf));var _0xe837=function(_0x2a750d,_0x2a98af){_0x2a750d=_0x2a750d-0x0;var _0x12524a=_0x837e[_0x2a750d];return _0x12524a;};'use strict';var pm2=require('pm2');var BPromise=require('bluebird');var config=require(_0xe837('0x0'));function connect(){return new BPromise(function(_0x55e62c,_0x572542){return pm2[_0xe837('0x1')](function(_0x3bca64){if(_0x3bca64){return _0x572542(_0x3bca64);}return _0x55e62c(_0xe837('0x2'));});});};exports[_0xe837('0x3')]=function(_0x43d370){return connect()['then'](function(){return new BPromise(function(_0xd968d4,_0x4f1e2d){return pm2[_0xe837('0x3')](_0x43d370,function(_0x307f04,_0x1dd57f){if(_0x307f04){return _0x4f1e2d(_0x307f04);}pm2['disconnect']();return _0xd968d4(_0x1dd57f);});});});};exports[_0xe837('0x4')]=function(_0xf058e5){return connect()['then'](function(){return new BPromise(function(_0x3aa06e,_0x48316b){return pm2['stop'](_0xf058e5,function(_0x27ee54,_0x49fd2a){if(_0x27ee54){return _0x48316b(_0x27ee54);}pm2[_0xe837('0x5')]();return _0x3aa06e(_0x49fd2a);});});});};exports[_0xe837('0x6')]=function(_0x5e0f83){return connect()[_0xe837('0x7')](function(){return new BPromise(function(_0x414149,_0x2e937d){return pm2['restart'](_0x5e0f83,function(_0x4b5fc6,_0x300097){if(_0x4b5fc6){return _0x2e937d(_0x4b5fc6);}pm2[_0xe837('0x5')]();return _0x414149(_0x300097);});});});};exports[_0xe837('0x8')]=function(){return connect()['then'](function(){return new BPromise(function(_0x174e7f,_0x4e5daa){return pm2[_0xe837('0x8')](function(_0x25c36d,_0x31fc1b){if(_0x25c36d){return _0x4e5daa(_0x25c36d);}pm2[_0xe837('0x5')]();return _0x174e7f(_0x31fc1b);});});});};exports[_0xe837('0x9')]=function(_0xd20688){return connect()[_0xe837('0x7')](function(){return new BPromise(function(_0x7f089e,_0x4227bd){return pm2[_0xe837('0x9')](_0xd20688,function(_0x55f7c1,_0x25025b){if(_0x55f7c1){return _0x4227bd(_0x55f7c1);}pm2['disconnect']();return _0x7f089e(_0x25025b);});});});};exports[_0xe837('0xa')]=function(_0x127304){return connect()[_0xe837('0x7')](function(){return new BPromise(function(_0x3c8761,_0x54deed){return pm2[_0xe837('0xa')](_0x127304,function(_0x44213a,_0x22918b){if(_0x44213a){return _0x54deed(_0x44213a);}pm2[_0xe837('0x5')]();return _0x3c8761(_0x22918b);});});});};exports[_0xe837('0xb')]=function(){return connect()[_0xe837('0x7')](function(){return new BPromise(function(_0x5b025b,_0x2681fb){return pm2['dump'](function(_0x3f8f5c){if(_0x3f8f5c){return _0x2681fb(_0x3f8f5c);}return _0x5b025b(_0xe837('0xc'));});});});};
\ No newline at end of file