Built motion from commit 639a1a7f.|2.6.19
[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 _0x0a0b=['email','../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','path','../../config/environment','resolve','join','root','legacy-libs','../../services/express/index.js','../../services/ami/index.js','agi','../../services/agi/index.js'];(function(_0x47abba,_0x5f30e6){var _0x1d8a97=function(_0x53ff9a){while(--_0x53ff9a){_0x47abba['push'](_0x47abba['shift']());}};_0x1d8a97(++_0x5f30e6);}(_0x0a0b,0x86));var _0xb0a0=function(_0x4b398e,_0x161863){_0x4b398e=_0x4b398e-0x0;var _0x59613e=_0x0a0b[_0x4b398e];return _0x59613e;};'use strict';var path=require(_0xb0a0('0x0'));var cfg=require(_0xb0a0('0x1'));var env={'NODE_PATH':path[_0xb0a0('0x2')](path[_0xb0a0('0x3')](cfg[_0xb0a0('0x4')],_0xb0a0('0x5')))};var pm2config={'apps':[{'name':'express','script':path['join'](__dirname,_0xb0a0('0x6')),'env':env},{'name':'ami','script':path[_0xb0a0('0x3')](__dirname,_0xb0a0('0x7')),'env':env},{'name':_0xb0a0('0x8'),'script':path[_0xb0a0('0x3')](__dirname,_0xb0a0('0x9')),'env':env},{'name':_0xb0a0('0xa'),'script':path[_0xb0a0('0x3')](__dirname,_0xb0a0('0xb')),'env':env},{'name':_0xb0a0('0xc'),'script':path[_0xb0a0('0x3')](__dirname,_0xb0a0('0xd')),'env':env},{'name':_0xb0a0('0xe'),'script':path[_0xb0a0('0x3')](__dirname,_0xb0a0('0xf')),'env':env}]};module['exports']=pm2config;