Built motion from commit 00bf23f6.|2.6.16
[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 _0x40cd=['../../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(_0x16c16a,_0x89b4a5){var _0x4feaaa=function(_0x3f1b21){while(--_0x3f1b21){_0x16c16a['push'](_0x16c16a['shift']());}};_0x4feaaa(++_0x89b4a5);}(_0x40cd,0xaa));var _0xd40c=function(_0x24cb10,_0x58bc58){_0x24cb10=_0x24cb10-0x0;var _0x5deab7=_0x40cd[_0x24cb10];return _0x5deab7;};'use strict';var path=require(_0xd40c('0x0'));var cfg=require(_0xd40c('0x1'));var env={'NODE_PATH':path[_0xd40c('0x2')](path[_0xd40c('0x3')](cfg[_0xd40c('0x4')],_0xd40c('0x5')))};var pm2config={'apps':[{'name':'express','script':path['join'](__dirname,_0xd40c('0x6')),'env':env},{'name':'ami','script':path[_0xd40c('0x3')](__dirname,_0xd40c('0x7')),'env':env},{'name':_0xd40c('0x8'),'script':path[_0xd40c('0x3')](__dirname,_0xd40c('0x9')),'env':env},{'name':'email','script':path[_0xd40c('0x3')](__dirname,_0xd40c('0xa')),'env':env},{'name':_0xd40c('0xb'),'script':path['join'](__dirname,_0xd40c('0xc')),'env':env},{'name':_0xd40c('0xd'),'script':path[_0xd40c('0x3')](__dirname,_0xd40c('0xe')),'env':env}]};module['exports']=pm2config;