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 _0x930f=['ami','../../services/ami/index.js','../../services/agi/index.js','../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','path','resolve','join','root','legacy-libs','express','../../services/express/index.js'];(function(_0x30f30f,_0x3d6fc2){var _0x4f17d1=function(_0x4b0b7b){while(--_0x4b0b7b){_0x30f30f['push'](_0x30f30f['shift']());}};_0x4f17d1(++_0x3d6fc2);}(_0x930f,0xda));var _0xf930=function(_0x4d1c1f,_0x118292){_0x4d1c1f=_0x4d1c1f-0x0;var _0x2b238a=_0x930f[_0x4d1c1f];return _0x2b238a;};'use strict';var path=require(_0xf930('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0xf930('0x1')](path[_0xf930('0x2')](cfg[_0xf930('0x3')],_0xf930('0x4')))};var pm2config={'apps':[{'name':_0xf930('0x5'),'script':path[_0xf930('0x2')](__dirname,_0xf930('0x6')),'env':env},{'name':_0xf930('0x7'),'script':path['join'](__dirname,_0xf930('0x8')),'env':env},{'name':'agi','script':path[_0xf930('0x2')](__dirname,_0xf930('0x9')),'env':env},{'name':'email','script':path[_0xf930('0x2')](__dirname,_0xf930('0xa')),'env':env},{'name':_0xf930('0xb'),'script':path[_0xf930('0x2')](__dirname,_0xf930('0xc')),'env':env},{'name':_0xf930('0xd'),'script':path['join'](__dirname,_0xf930('0xe')),'env':env}]};module['exports']=pm2config;