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 _0xdd84=['routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','resolve','join','root','legacy-libs','../../services/express/index.js','../../services/ami/index.js','agi','../../services/agi/index.js','email','../../services/email/index.js'];(function(_0xebd01,_0x241259){var _0x1d5a92=function(_0x208657){while(--_0x208657){_0xebd01['push'](_0xebd01['shift']());}};_0x1d5a92(++_0x241259);}(_0xdd84,0xe5));var _0x4dd8=function(_0x3e1f6b,_0x3fffd8){_0x3e1f6b=_0x3e1f6b-0x0;var _0x52478b=_0xdd84[_0x3e1f6b];return _0x52478b;};'use strict';var path=require(_0x4dd8('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0x4dd8('0x1')](path[_0x4dd8('0x2')](cfg[_0x4dd8('0x3')],_0x4dd8('0x4')))};var pm2config={'apps':[{'name':'express','script':path[_0x4dd8('0x2')](__dirname,_0x4dd8('0x5')),'env':env},{'name':'ami','script':path[_0x4dd8('0x2')](__dirname,_0x4dd8('0x6')),'env':env},{'name':_0x4dd8('0x7'),'script':path[_0x4dd8('0x2')](__dirname,_0x4dd8('0x8')),'env':env},{'name':_0x4dd8('0x9'),'script':path[_0x4dd8('0x2')](__dirname,_0x4dd8('0xa')),'env':env},{'name':_0x4dd8('0xb'),'script':path[_0x4dd8('0x2')](__dirname,_0x4dd8('0xc')),'env':env},{'name':_0x4dd8('0xd'),'script':path[_0x4dd8('0x2')](__dirname,_0x4dd8('0xe')),'env':env}]};module[_0x4dd8('0xf')]=pm2config;