f3d502288e8bf4add776699115cf8c65fe1298de
[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 _0x4dba=['../../services/email/index.js','routing','../../services/routing/index.js','xdr','exports','path','../../config/environment','resolve','root','legacy-libs','express','../../services/express/index.js','ami','join','../../services/ami/index.js','../../services/agi/index.js','email'];(function(_0x5161d6,_0x225cc4){var _0x3eedeb=function(_0x10a3db){while(--_0x10a3db){_0x5161d6['push'](_0x5161d6['shift']());}};_0x3eedeb(++_0x225cc4);}(_0x4dba,0x148));var _0xa4db=function(_0x55f9ae,_0x56a1a2){_0x55f9ae=_0x55f9ae-0x0;var _0x179067=_0x4dba[_0x55f9ae];return _0x179067;};'use strict';var path=require(_0xa4db('0x0'));var cfg=require(_0xa4db('0x1'));var env={'NODE_PATH':path[_0xa4db('0x2')](path['join'](cfg[_0xa4db('0x3')],_0xa4db('0x4')))};var pm2config={'apps':[{'name':_0xa4db('0x5'),'script':path['join'](__dirname,_0xa4db('0x6')),'env':env},{'name':_0xa4db('0x7'),'script':path[_0xa4db('0x8')](__dirname,_0xa4db('0x9')),'env':env},{'name':'agi','script':path['join'](__dirname,_0xa4db('0xa')),'env':env},{'name':_0xa4db('0xb'),'script':path['join'](__dirname,_0xa4db('0xc')),'env':env},{'name':_0xa4db('0xd'),'script':path[_0xa4db('0x8')](__dirname,_0xa4db('0xe')),'env':env},{'name':_0xa4db('0xf'),'script':path[_0xa4db('0x8')](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0xa4db('0x10')]=pm2config;