Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / config / pm2 / index.js
index 046e10a..8387785 100644 (file)
@@ -1 +1 @@
-const a849_0x2fa7=['nodeArgs','debug','list','saved','start','node_args','environment','stop','interpreter_args','restart','node','disconnect','interpreter','delete','--inspect','then','connect','Restarted','../config.service','Stopped','connected'];(function(_0x468ae8,_0x2fa741){const _0x28ff41=function(_0x4ef275){while(--_0x4ef275){_0x468ae8['push'](_0x468ae8['shift']());}};_0x28ff41(++_0x2fa741);}(a849_0x2fa7,0xf6));const a849_0x28ff=function(_0x468ae8,_0x2fa741){_0x468ae8=_0x468ae8-0x0;let _0x28ff41=a849_0x2fa7[_0x468ae8];return _0x28ff41;};const _0x3803c8=a849_0x28ff;'use strict';const pm2=require('pm2'),cs=require(_0x3803c8('0x3'))['getConfigService']();function connect(){return new Promise(function(_0x4ef275,_0x57f131){const _0x22044b=a849_0x28ff;return pm2[_0x22044b('0x1')](function(_0x173caa){const _0x2ba5cc=_0x22044b;_0x173caa?_0x57f131(_0x173caa):_0x4ef275(_0x2ba5cc('0x5'));});});}exports['start']=function(_0x1673bc){const _0x317b1c=_0x3803c8;return!(cs['isProduction']||cs['isTest']||cs[_0x317b1c('0xc')]==='vscode_debugger')&&(_0x1673bc[_0x317b1c('0x12')]=_0x317b1c('0x10'),_0x1673bc[_0x317b1c('0xe')]=[_0x317b1c('0x14')],_0x1673bc[_0x317b1c('0xb')]=[_0x317b1c('0x14')],_0x1673bc['interpreterArgs']=[_0x317b1c('0x14')],_0x1673bc[_0x317b1c('0x6')]=[_0x317b1c('0x14')]),connect()[_0x317b1c('0x0')](function(){return new Promise(function(_0x5eb8af,_0x49af19){const _0x23fb24=a849_0x28ff;return pm2[_0x23fb24('0xa')](_0x1673bc,function(_0x52658d,_0x2e3525){const _0x1963f9=_0x23fb24;_0x52658d?_0x49af19(_0x52658d):(pm2[_0x1963f9('0x11')](),_0x5eb8af(_0x2e3525));});});});},exports['stop']=function(_0xc15fcd){const _0x299d4c=_0x3803c8;return connect()[_0x299d4c('0x0')](function(){return new Promise(function(_0x3f68e3,_0x52de2f){const _0x574d8a=a849_0x28ff;return pm2[_0x574d8a('0xd')](_0xc15fcd,function(_0x58aa7b,_0x2e98bd){const _0x217d2e=_0x574d8a;_0x58aa7b?_0x52de2f(_0x58aa7b):(console[_0x217d2e('0x7')](_0x217d2e('0x4'),_0xc15fcd),_0x3f68e3(_0x2e98bd));});});});},exports[_0x3803c8('0xf')]=function(_0xdcc60d){return connect()['then'](function(){return new Promise(function(_0x139526,_0x30959a){const _0x3524aa=a849_0x28ff;return pm2[_0x3524aa('0xf')](_0xdcc60d,function(_0x1ae1f4,_0x4920ea){const _0x37d506=_0x3524aa;_0x1ae1f4?_0x30959a(_0x1ae1f4):(console[_0x37d506('0x7')](_0x37d506('0x2'),_0xdcc60d),_0x139526(_0x4920ea));});});});},exports[_0x3803c8('0x8')]=function(){const _0x26bf93=_0x3803c8;return connect()[_0x26bf93('0x0')](function(){return new Promise(function(_0x481a50,_0x2eebfb){const _0x4dd82a=a849_0x28ff;return pm2[_0x4dd82a('0x8')](function(_0x36069f,_0x1195bc){_0x36069f?_0x2eebfb(_0x36069f):_0x481a50(_0x1195bc);});});});},exports['describe']=function(_0x22f9f6){const _0x118b00=_0x3803c8;return connect()[_0x118b00('0x0')](function(){return new Promise(function(_0x3e439f,_0x5a1b86){return pm2['describe'](_0x22f9f6,function(_0x268562,_0x2bcce7){_0x268562?_0x5a1b86(_0x268562):_0x3e439f(_0x2bcce7);});});});},exports[_0x3803c8('0x13')]=function(_0x1c9114){return connect()['then'](function(){return new Promise(function(_0x76d188,_0x307941){const _0x575e9b=a849_0x28ff;return pm2[_0x575e9b('0x13')](_0x1c9114,function(_0xff63d0,_0xf329e2){const _0xd32e40=_0x575e9b;_0xff63d0?_0x307941(_0xff63d0):(console[_0xd32e40('0x7')]('Stopped\x20and\x20Deleted',_0x1c9114),_0x76d188(_0xf329e2));});});});},exports['dump']=function(){return connect()['then'](function(){return new Promise(function(_0x14cb07,_0x27d0c9){return pm2['dump'](function(_0x5957fd){const _0x4da485=a849_0x28ff;_0x5957fd?_0x27d0c9(_0x5957fd):_0x14cb07(_0x4da485('0x9'));});});});};
\ No newline at end of file
+const a849_0x12d2=['Stopped\x20and\x20Deleted','node','Restarted','restart','Stopped','start','getConfigService','interpreterArgs','debug','dump','interpreter','../config.service','isProduction','vscode_debugger','saved','interpreter_args','list','describe','environment','--inspect','then','delete','stop','disconnect','pm2','connected'];(function(_0x2ec57a,_0x12d299){const _0x520fd9=function(_0x47188b){while(--_0x47188b){_0x2ec57a['push'](_0x2ec57a['shift']());}};_0x520fd9(++_0x12d299);}(a849_0x12d2,0x175));const a849_0x520f=function(_0x2ec57a,_0x12d299){_0x2ec57a=_0x2ec57a-0x0;let _0x520fd9=a849_0x12d2[_0x2ec57a];return _0x520fd9;};const _0x1163fd=a849_0x520f;'use strict';const pm2=require(_0x1163fd('0xf')),cs=require(_0x1163fd('0x2'))[_0x1163fd('0x17')]();function connect(){return new Promise(function(_0x47188b,_0x755d48){return pm2['connect'](function(_0x1a6c21){const _0x447986=a849_0x520f;_0x1a6c21?_0x755d48(_0x1a6c21):_0x47188b(_0x447986('0x10'));});});}exports[_0x1163fd('0x16')]=function(_0x504416){const _0x288866=_0x1163fd;return!(cs[_0x288866('0x3')]||cs['isTest']||cs[_0x288866('0x9')]===_0x288866('0x4'))&&(_0x504416[_0x288866('0x1')]=_0x288866('0x12'),_0x504416[_0x288866('0x6')]=['--inspect'],_0x504416['node_args']=[_0x288866('0xa')],_0x504416[_0x288866('0x18')]=[_0x288866('0xa')],_0x504416['nodeArgs']=[_0x288866('0xa')]),connect()['then'](function(){return new Promise(function(_0x39c860,_0x1913d4){const _0x3f944e=a849_0x520f;return pm2[_0x3f944e('0x16')](_0x504416,function(_0x47e85d,_0x432df3){const _0xfab9c0=_0x3f944e;_0x47e85d?_0x1913d4(_0x47e85d):(pm2[_0xfab9c0('0xe')](),_0x39c860(_0x432df3));});});});},exports[_0x1163fd('0xd')]=function(_0x35f2f7){const _0x4935da=_0x1163fd;return connect()[_0x4935da('0xb')](function(){return new Promise(function(_0x41ca74,_0x48330f){const _0x39595e=a849_0x520f;return pm2[_0x39595e('0xd')](_0x35f2f7,function(_0x496a6c,_0x26a1b5){const _0x189fb0=_0x39595e;_0x496a6c?_0x48330f(_0x496a6c):(console[_0x189fb0('0x19')](_0x189fb0('0x15'),_0x35f2f7),_0x41ca74(_0x26a1b5));});});});},exports[_0x1163fd('0x14')]=function(_0x47f583){return connect()['then'](function(){return new Promise(function(_0x2ee66b,_0x16c9e1){const _0x2ab347=a849_0x520f;return pm2[_0x2ab347('0x14')](_0x47f583,function(_0x4e10ae,_0x369201){const _0x8c80f8=_0x2ab347;_0x4e10ae?_0x16c9e1(_0x4e10ae):(console[_0x8c80f8('0x19')](_0x8c80f8('0x13'),_0x47f583),_0x2ee66b(_0x369201));});});});},exports['list']=function(){const _0x552e52=_0x1163fd;return connect()[_0x552e52('0xb')](function(){return new Promise(function(_0x24d06b,_0x3df77b){const _0x18e824=a849_0x520f;return pm2[_0x18e824('0x7')](function(_0x4c3323,_0x571c69){_0x4c3323?_0x3df77b(_0x4c3323):_0x24d06b(_0x571c69);});});});},exports[_0x1163fd('0x8')]=function(_0x3f0219){const _0x256b3d=_0x1163fd;return connect()[_0x256b3d('0xb')](function(){return new Promise(function(_0x68da60,_0xf860d4){return pm2['describe'](_0x3f0219,function(_0x780264,_0x4f03eb){_0x780264?_0xf860d4(_0x780264):_0x68da60(_0x4f03eb);});});});},exports[_0x1163fd('0xc')]=function(_0x4529c4){const _0x1c695d=_0x1163fd;return connect()[_0x1c695d('0xb')](function(){return new Promise(function(_0x26bab3,_0xb8abd2){const _0x4bc975=a849_0x520f;return pm2[_0x4bc975('0xc')](_0x4529c4,function(_0x50ca92,_0x3bb04f){const _0x11ba82=_0x4bc975;_0x50ca92?_0xb8abd2(_0x50ca92):(console[_0x11ba82('0x19')](_0x11ba82('0x11'),_0x4529c4),_0x26bab3(_0x3bb04f));});});});},exports[_0x1163fd('0x0')]=function(){const _0x442a34=_0x1163fd;return connect()[_0x442a34('0xb')](function(){return new Promise(function(_0x252c22,_0x2aa578){const _0x4b4f65=a849_0x520f;return pm2[_0x4b4f65('0x0')](function(_0x394f0f){const _0x4699c1=_0x4b4f65;_0x394f0f?_0x2aa578(_0x394f0f):_0x252c22(_0x4699c1('0x5'));});});});};
\ No newline at end of file