Built motion from commit d1eab355.|2.6.28
[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 _0x7e04=['join','root','legacy-libs','ami','../../services/agi/index.js','../../services/email/index.js','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','../../config/environment','resolve'];(function(_0x25a218,_0x1a6e32){var _0x3f8862=function(_0x13c600){while(--_0x13c600){_0x25a218['push'](_0x25a218['shift']());}};_0x3f8862(++_0x1a6e32);}(_0x7e04,0x7f));var _0x47e0=function(_0x16b0c0,_0x4c19b0){_0x16b0c0=_0x16b0c0-0x0;var _0x4f3bbf=_0x7e04[_0x16b0c0];return _0x4f3bbf;};'use strict';var path=require(_0x47e0('0x0'));var cfg=require(_0x47e0('0x1'));var env={'NODE_PATH':path[_0x47e0('0x2')](path[_0x47e0('0x3')](cfg[_0x47e0('0x4')],_0x47e0('0x5')))};var pm2config={'apps':[{'name':'express','script':path[_0x47e0('0x3')](__dirname,'../../services/express/index.js'),'env':env},{'name':_0x47e0('0x6'),'script':path[_0x47e0('0x3')](__dirname,'../../services/ami/index.js'),'env':env},{'name':'agi','script':path[_0x47e0('0x3')](__dirname,_0x47e0('0x7')),'env':env},{'name':'email','script':path[_0x47e0('0x3')](__dirname,_0x47e0('0x8')),'env':env},{'name':'routing','script':path[_0x47e0('0x3')](__dirname,_0x47e0('0x9')),'env':env},{'name':_0x47e0('0xa'),'script':path[_0x47e0('0x3')](__dirname,_0x47e0('0xb')),'env':env}]};module[_0x47e0('0xc')]=pm2config;