6c11ad4fab7a43e32619f2d537d739a8998f0f2e
[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 _0x9d39=['../../services/agi/index.js','exports','path','../../config/environment','resolve','join','root','legacy-libs','../../services/express/index.js','ami','../../services/ami/index.js','agi'];(function(_0x26d386,_0x1660c0){var _0x4ef9a8=function(_0x55e2d3){while(--_0x55e2d3){_0x26d386['push'](_0x26d386['shift']());}};_0x4ef9a8(++_0x1660c0);}(_0x9d39,0xce));var _0x99d3=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0x9d39[_0x19950b];return _0x3c6b41;};'use strict';var path=require(_0x99d3('0x0'));var cfg=require(_0x99d3('0x1'));var env={'NODE_PATH':path[_0x99d3('0x2')](path[_0x99d3('0x3')](cfg[_0x99d3('0x4')],_0x99d3('0x5')))};var pm2config={'apps':[{'name':'express','script':path['join'](__dirname,_0x99d3('0x6')),'env':env},{'name':_0x99d3('0x7'),'script':path[_0x99d3('0x3')](__dirname,_0x99d3('0x8')),'env':env},{'name':_0x99d3('0x9'),'script':path[_0x99d3('0x3')](__dirname,_0x99d3('0xa')),'env':env},{'name':'email','script':path['join'](__dirname,'../../services/email/index.js'),'env':env},{'name':'routing','script':path['join'](__dirname,'../../services/routing/index.js'),'env':env},{'name':'xdr','script':path[_0x99d3('0x3')](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0x99d3('0xb')]=pm2config;