Built motion from commit 10af8726.|2.6.34
[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 _0x5126=['xdr','../../services/xdr/index.js','exports','path','../../config/environment','express','../../services/express/index.js','ami','join','../../services/ami/index.js','agi','email','../../services/email/index.js','routing','../../services/routing/index.js'];(function(_0x21f6fe,_0x575190){var _0x3a3779=function(_0x3858ac){while(--_0x3858ac){_0x21f6fe['push'](_0x21f6fe['shift']());}};_0x3a3779(++_0x575190);}(_0x5126,0x1e3));var _0x6512=function(_0x5eb6a1,_0x58cf8a){_0x5eb6a1=_0x5eb6a1-0x0;var _0x46159d=_0x5126[_0x5eb6a1];return _0x46159d;};'use strict';var path=require(_0x6512('0x0'));var cfg=require(_0x6512('0x1'));var env={'NODE_PATH':path['resolve'](path['join'](cfg['root'],'legacy-libs'))};var pm2config={'apps':[{'name':_0x6512('0x2'),'script':path['join'](__dirname,_0x6512('0x3')),'env':env},{'name':_0x6512('0x4'),'script':path[_0x6512('0x5')](__dirname,_0x6512('0x6')),'env':env},{'name':_0x6512('0x7'),'script':path[_0x6512('0x5')](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0x6512('0x8'),'script':path[_0x6512('0x5')](__dirname,_0x6512('0x9')),'env':env},{'name':_0x6512('0xa'),'script':path[_0x6512('0x5')](__dirname,_0x6512('0xb')),'env':env},{'name':_0x6512('0xc'),'script':path[_0x6512('0x5')](__dirname,_0x6512('0xd')),'env':env}]};module[_0x6512('0xe')]=pm2config;