Built motion from commit 1efd3d96.|2.6.31
[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 _0x2dfe=['../../services/routing/index.js','xdr','../../services/xdr/index.js','../../config/environment','root','legacy-libs','express','join','../../services/express/index.js','ami','../../services/ami/index.js','../../services/agi/index.js','email','../../services/email/index.js'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0x2dfe,0x1d1));var _0xe2df=function(_0x20073b,_0x9c031e){_0x20073b=_0x20073b-0x0;var _0x428d14=_0x2dfe[_0x20073b];return _0x428d14;};'use strict';var path=require('path');var cfg=require(_0xe2df('0x0'));var env={'NODE_PATH':path['resolve'](path['join'](cfg[_0xe2df('0x1')],_0xe2df('0x2')))};var pm2config={'apps':[{'name':_0xe2df('0x3'),'script':path[_0xe2df('0x4')](__dirname,_0xe2df('0x5')),'env':env},{'name':_0xe2df('0x6'),'script':path['join'](__dirname,_0xe2df('0x7')),'env':env},{'name':'agi','script':path[_0xe2df('0x4')](__dirname,_0xe2df('0x8')),'env':env},{'name':_0xe2df('0x9'),'script':path[_0xe2df('0x4')](__dirname,_0xe2df('0xa')),'env':env},{'name':'routing','script':path[_0xe2df('0x4')](__dirname,_0xe2df('0xb')),'env':env},{'name':_0xe2df('0xc'),'script':path[_0xe2df('0x4')](__dirname,_0xe2df('0xd')),'env':env}]};module['exports']=pm2config;