6945dc27d4a77176d1eb21eb36559252a656c73b
[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 _0xc4bf=['legacy-libs','express','join','../../services/express/index.js','ami','../../services/ami/index.js','../../services/agi/index.js','email','../../services/email/index.js','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','../../config/environment','resolve','root'];(function(_0x7e2eb0,_0x17cd58){var _0xd92de4=function(_0x5d005b){while(--_0x5d005b){_0x7e2eb0['push'](_0x7e2eb0['shift']());}};_0xd92de4(++_0x17cd58);}(_0xc4bf,0x183));var _0xfc4b=function(_0x12c3d1,_0x3c6ae7){_0x12c3d1=_0x12c3d1-0x0;var _0x282840=_0xc4bf[_0x12c3d1];return _0x282840;};'use strict';var path=require(_0xfc4b('0x0'));var cfg=require(_0xfc4b('0x1'));var env={'NODE_PATH':path[_0xfc4b('0x2')](path['join'](cfg[_0xfc4b('0x3')],_0xfc4b('0x4')))};var pm2config={'apps':[{'name':_0xfc4b('0x5'),'script':path[_0xfc4b('0x6')](__dirname,_0xfc4b('0x7')),'env':env},{'name':_0xfc4b('0x8'),'script':path[_0xfc4b('0x6')](__dirname,_0xfc4b('0x9')),'env':env},{'name':'agi','script':path[_0xfc4b('0x6')](__dirname,_0xfc4b('0xa')),'env':env},{'name':_0xfc4b('0xb'),'script':path[_0xfc4b('0x6')](__dirname,_0xfc4b('0xc')),'env':env},{'name':'routing','script':path[_0xfc4b('0x6')](__dirname,_0xfc4b('0xd')),'env':env},{'name':_0xfc4b('0xe'),'script':path[_0xfc4b('0x6')](__dirname,_0xfc4b('0xf')),'env':env}]};module[_0xfc4b('0x10')]=pm2config;