f06d3378295b581c8c29e296fd9b5475c42b9680
[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 _0x1768=['../../services/express/index.js','ami','../../services/ami/index.js','agi','email','../../services/email/index.js','routing','../../services/routing/index.js','xdr','exports','path','../../config/environment','resolve','join','root','express'];(function(_0x342700,_0x569f75){var _0x53406f=function(_0x3b3c32){while(--_0x3b3c32){_0x342700['push'](_0x342700['shift']());}};_0x53406f(++_0x569f75);}(_0x1768,0x18a));var _0x8176=function(_0x1b6186,_0x1ec7f2){_0x1b6186=_0x1b6186-0x0;var _0x186121=_0x1768[_0x1b6186];return _0x186121;};'use strict';var path=require(_0x8176('0x0'));var cfg=require(_0x8176('0x1'));var env={'NODE_PATH':path[_0x8176('0x2')](path[_0x8176('0x3')](cfg[_0x8176('0x4')],'legacy-libs'))};var pm2config={'apps':[{'name':_0x8176('0x5'),'script':path[_0x8176('0x3')](__dirname,_0x8176('0x6')),'env':env},{'name':_0x8176('0x7'),'script':path[_0x8176('0x3')](__dirname,_0x8176('0x8')),'env':env},{'name':_0x8176('0x9'),'script':path[_0x8176('0x3')](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0x8176('0xa'),'script':path[_0x8176('0x3')](__dirname,_0x8176('0xb')),'env':env},{'name':_0x8176('0xc'),'script':path['join'](__dirname,_0x8176('0xd')),'env':env},{'name':_0x8176('0xe'),'script':path['join'](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0x8176('0xf')]=pm2config;