Built motion from commit 97153652.|2.6.26
[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 _0x6679=['../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','../../services/email/index.js','xdr','../../services/xdr/index.js','exports','resolve','root','legacy-libs','express','join'];(function(_0x4b73a2,_0x40b5fe){var _0x383c66=function(_0x3917ae){while(--_0x3917ae){_0x4b73a2['push'](_0x4b73a2['shift']());}};_0x383c66(++_0x40b5fe);}(_0x6679,0x183));var _0x9667=function(_0x4ec520,_0x15fee2){_0x4ec520=_0x4ec520-0x0;var _0xed49d7=_0x6679[_0x4ec520];return _0xed49d7;};'use strict';var path=require('path');var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0x9667('0x0')](path['join'](cfg[_0x9667('0x1')],_0x9667('0x2')))};var pm2config={'apps':[{'name':_0x9667('0x3'),'script':path[_0x9667('0x4')](__dirname,_0x9667('0x5')),'env':env},{'name':_0x9667('0x6'),'script':path[_0x9667('0x4')](__dirname,_0x9667('0x7')),'env':env},{'name':_0x9667('0x8'),'script':path[_0x9667('0x4')](__dirname,_0x9667('0x9')),'env':env},{'name':'email','script':path[_0x9667('0x4')](__dirname,_0x9667('0xa')),'env':env},{'name':'routing','script':path[_0x9667('0x4')](__dirname,'../../services/routing/index.js'),'env':env},{'name':_0x9667('0xb'),'script':path['join'](__dirname,_0x9667('0xc')),'env':env}]};module[_0x9667('0xd')]=pm2config;