4d2d3058ad77be4a196e1ca84e0d3b6c83a5d675
[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 _0x3e12=['../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','../../services/email/index.js','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','../../config/environment','resolve','join','root','legacy-libs','express'];(function(_0x2fa5ba,_0x4a70a1){var _0x38aa4b=function(_0xf2ab76){while(--_0xf2ab76){_0x2fa5ba['push'](_0x2fa5ba['shift']());}};_0x38aa4b(++_0x4a70a1);}(_0x3e12,0x1e6));var _0x23e1=function(_0x2aecb2,_0x343312){_0x2aecb2=_0x2aecb2-0x0;var _0x3ebb80=_0x3e12[_0x2aecb2];return _0x3ebb80;};'use strict';var path=require(_0x23e1('0x0'));var cfg=require(_0x23e1('0x1'));var env={'NODE_PATH':path[_0x23e1('0x2')](path[_0x23e1('0x3')](cfg[_0x23e1('0x4')],_0x23e1('0x5')))};var pm2config={'apps':[{'name':_0x23e1('0x6'),'script':path['join'](__dirname,_0x23e1('0x7')),'env':env},{'name':_0x23e1('0x8'),'script':path[_0x23e1('0x3')](__dirname,_0x23e1('0x9')),'env':env},{'name':_0x23e1('0xa'),'script':path['join'](__dirname,_0x23e1('0xb')),'env':env},{'name':'email','script':path[_0x23e1('0x3')](__dirname,_0x23e1('0xc')),'env':env},{'name':'routing','script':path['join'](__dirname,_0x23e1('0xd')),'env':env},{'name':_0x23e1('0xe'),'script':path['join'](__dirname,_0x23e1('0xf')),'env':env}]};module[_0x23e1('0x10')]=pm2config;