e24cfb37796bf4218f57d790ed7631730cd17755
[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 _0xcf35=['../../services/agi/index.js','../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','../../config/environment','resolve','root','legacy-libs','express','join','ami','../../services/ami/index.js'];(function(_0x17a716,_0x32e9bb){var _0x39dc1d=function(_0xd1021c){while(--_0xd1021c){_0x17a716['push'](_0x17a716['shift']());}};_0x39dc1d(++_0x32e9bb);}(_0xcf35,0x167));var _0x5cf3=function(_0x417a23,_0x2a228d){_0x417a23=_0x417a23-0x0;var _0x3aeb3f=_0xcf35[_0x417a23];return _0x3aeb3f;};'use strict';var path=require(_0x5cf3('0x0'));var cfg=require(_0x5cf3('0x1'));var env={'NODE_PATH':path[_0x5cf3('0x2')](path['join'](cfg[_0x5cf3('0x3')],_0x5cf3('0x4')))};var pm2config={'apps':[{'name':_0x5cf3('0x5'),'script':path[_0x5cf3('0x6')](__dirname,'../../services/express/index.js'),'env':env},{'name':_0x5cf3('0x7'),'script':path[_0x5cf3('0x6')](__dirname,_0x5cf3('0x8')),'env':env},{'name':'agi','script':path[_0x5cf3('0x6')](__dirname,_0x5cf3('0x9')),'env':env},{'name':'email','script':path[_0x5cf3('0x6')](__dirname,_0x5cf3('0xa')),'env':env},{'name':_0x5cf3('0xb'),'script':path[_0x5cf3('0x6')](__dirname,_0x5cf3('0xc')),'env':env},{'name':_0x5cf3('0xd'),'script':path[_0x5cf3('0x6')](__dirname,_0x5cf3('0xe')),'env':env}]};module[_0x5cf3('0xf')]=pm2config;