4fb14aec85c77410b835e5096db55162fec0aea5
[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 _0xc792=['exports','path','../../config/environment','resolve','join','root','legacy-libs','express','../../services/express/index.js','../../services/ami/index.js','../../services/agi/index.js','../../services/email/index.js','routing','xdr','../../services/xdr/index.js'];(function(_0x3de4f8,_0x336c7d){var _0x3d81fc=function(_0x53b9f9){while(--_0x53b9f9){_0x3de4f8['push'](_0x3de4f8['shift']());}};_0x3d81fc(++_0x336c7d);}(_0xc792,0x178));var _0x2c79=function(_0x1f77b2,_0x281c6c){_0x1f77b2=_0x1f77b2-0x0;var _0x223868=_0xc792[_0x1f77b2];return _0x223868;};'use strict';var path=require(_0x2c79('0x0'));var cfg=require(_0x2c79('0x1'));var env={'NODE_PATH':path[_0x2c79('0x2')](path[_0x2c79('0x3')](cfg[_0x2c79('0x4')],_0x2c79('0x5')))};var pm2config={'apps':[{'name':_0x2c79('0x6'),'script':path[_0x2c79('0x3')](__dirname,_0x2c79('0x7')),'env':env},{'name':'ami','script':path['join'](__dirname,_0x2c79('0x8')),'env':env},{'name':'agi','script':path['join'](__dirname,_0x2c79('0x9')),'env':env},{'name':'email','script':path[_0x2c79('0x3')](__dirname,_0x2c79('0xa')),'env':env},{'name':_0x2c79('0xb'),'script':path[_0x2c79('0x3')](__dirname,'../../services/routing/index.js'),'env':env},{'name':_0x2c79('0xc'),'script':path[_0x2c79('0x3')](__dirname,_0x2c79('0xd')),'env':env}]};module[_0x2c79('0xe')]=pm2config;