Built motion from commit 3c2ce842.|2.6.31
[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 _0xfe2f=['path','../../config/environment','join','root','legacy-libs','express','agi','email','../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports'];(function(_0x527761,_0x596c8d){var _0x419ef4=function(_0x43f23a){while(--_0x43f23a){_0x527761['push'](_0x527761['shift']());}};_0x419ef4(++_0x596c8d);}(_0xfe2f,0x9a));var _0xffe2=function(_0x36e2b6,_0x303250){_0x36e2b6=_0x36e2b6-0x0;var _0x29ab41=_0xfe2f[_0x36e2b6];return _0x29ab41;};'use strict';var path=require(_0xffe2('0x0'));var cfg=require(_0xffe2('0x1'));var env={'NODE_PATH':path['resolve'](path[_0xffe2('0x2')](cfg[_0xffe2('0x3')],_0xffe2('0x4')))};var pm2config={'apps':[{'name':_0xffe2('0x5'),'script':path[_0xffe2('0x2')](__dirname,'../../services/express/index.js'),'env':env},{'name':'ami','script':path[_0xffe2('0x2')](__dirname,'../../services/ami/index.js'),'env':env},{'name':_0xffe2('0x6'),'script':path[_0xffe2('0x2')](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0xffe2('0x7'),'script':path['join'](__dirname,_0xffe2('0x8')),'env':env},{'name':_0xffe2('0x9'),'script':path[_0xffe2('0x2')](__dirname,_0xffe2('0xa')),'env':env},{'name':_0xffe2('0xb'),'script':path[_0xffe2('0x2')](__dirname,_0xffe2('0xc')),'env':env}]};module[_0xffe2('0xd')]=pm2config;