Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / config / pm2 / config.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x9165=['join','../../services/routing/index.js','../../services/xdr/index.js','exports','path','../../config/environment','resolve','root','legacy-libs','express','../../services/express/index.js','ami','../../services/ami/index.js','email'];(function(_0x2ebfde,_0x598de1){var _0x244cbf=function(_0x5707c1){while(--_0x5707c1){_0x2ebfde['push'](_0x2ebfde['shift']());}};_0x244cbf(++_0x598de1);}(_0x9165,0x1d2));var _0x5916=function(_0x492dca,_0x557b3f){_0x492dca=_0x492dca-0x0;var _0x377752=_0x9165[_0x492dca];return _0x377752;};'use strict';var path=require(_0x5916('0x0'));var cfg=require(_0x5916('0x1'));var env={'NODE_PATH':path[_0x5916('0x2')](path['join'](cfg[_0x5916('0x3')],_0x5916('0x4')))};var pm2config={'apps':[{'name':_0x5916('0x5'),'script':path['join'](__dirname,_0x5916('0x6')),'env':env},{'name':_0x5916('0x7'),'script':path['join'](__dirname,_0x5916('0x8')),'env':env},{'name':'agi','script':path['join'](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0x5916('0x9'),'script':path[_0x5916('0xa')](__dirname,'../../services/email/index.js'),'env':env},{'name':'routing','script':path[_0x5916('0xa')](__dirname,_0x5916('0xb')),'env':env},{'name':'xdr','script':path[_0x5916('0xa')](__dirname,_0x5916('0xc')),'env':env}]};module[_0x5916('0xd')]=pm2config;