Built motion from commit e02f907f.|2.6.14
[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 _0x4f31=['../../services/routing/index.js','../../services/xdr/index.js','exports','resolve','join','root','legacy-libs','express','../../services/express/index.js','agi','../../services/agi/index.js','../../services/email/index.js','routing'];(function(_0x41c358,_0xb928de){var _0x25a609=function(_0x390471){while(--_0x390471){_0x41c358['push'](_0x41c358['shift']());}};_0x25a609(++_0xb928de);}(_0x4f31,0x114));var _0x14f3=function(_0x299c75,_0x48e5e8){_0x299c75=_0x299c75-0x0;var _0x3e43fa=_0x4f31[_0x299c75];return _0x3e43fa;};'use strict';var path=require('path');var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0x14f3('0x0')](path[_0x14f3('0x1')](cfg[_0x14f3('0x2')],_0x14f3('0x3')))};var pm2config={'apps':[{'name':_0x14f3('0x4'),'script':path[_0x14f3('0x1')](__dirname,_0x14f3('0x5')),'env':env},{'name':'ami','script':path[_0x14f3('0x1')](__dirname,'../../services/ami/index.js'),'env':env},{'name':_0x14f3('0x6'),'script':path[_0x14f3('0x1')](__dirname,_0x14f3('0x7')),'env':env},{'name':'email','script':path[_0x14f3('0x1')](__dirname,_0x14f3('0x8')),'env':env},{'name':_0x14f3('0x9'),'script':path[_0x14f3('0x1')](__dirname,_0x14f3('0xa')),'env':env},{'name':'xdr','script':path[_0x14f3('0x1')](__dirname,_0x14f3('0xb')),'env':env}]};module[_0x14f3('0xc')]=pm2config;