1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x6ae9=['resolve','join','root','legacy-libs','express','ami','../../services/ami/index.js','agi','email','../../services/email/index.js','../../services/routing/index.js','../../services/xdr/index.js','exports'];(function(_0x39bf97,_0x487c9f){var _0x396796=function(_0x3d5bfe){while(--_0x3d5bfe){_0x39bf97['push'](_0x39bf97['shift']());}};_0x396796(++_0x487c9f);}(_0x6ae9,0x82));var _0x96ae=function(_0x47faed,_0x1fc138){_0x47faed=_0x47faed-0x0;var _0x31fcda=_0x6ae9[_0x47faed];return _0x31fcda;};'use strict';var path=require('path');var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0x96ae('0x0')](path[_0x96ae('0x1')](cfg[_0x96ae('0x2')],_0x96ae('0x3')))};var pm2config={'apps':[{'name':_0x96ae('0x4'),'script':path['join'](__dirname,'../../services/express/index.js'),'env':env},{'name':_0x96ae('0x5'),'script':path[_0x96ae('0x1')](__dirname,_0x96ae('0x6')),'env':env},{'name':_0x96ae('0x7'),'script':path[_0x96ae('0x1')](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0x96ae('0x8'),'script':path[_0x96ae('0x1')](__dirname,_0x96ae('0x9')),'env':env},{'name':'routing','script':path[_0x96ae('0x1')](__dirname,_0x96ae('0xa')),'env':env},{'name':'xdr','script':path['join'](__dirname,_0x96ae('0xb')),'env':env}]};module[_0x96ae('0xc')]=pm2config;