Built motion from commit b5996064.|2.6.21
[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 _0x26ff=['../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','email','../../services/email/index.js','routing','../../services/xdr/index.js','path','resolve','join','legacy-libs','express'];(function(_0x1fed49,_0x1bf9a3){var _0x57f297=function(_0x5ce175){while(--_0x5ce175){_0x1fed49['push'](_0x1fed49['shift']());}};_0x57f297(++_0x1bf9a3);}(_0x26ff,0xbf));var _0xf26f=function(_0xd04f6b,_0x584143){_0xd04f6b=_0xd04f6b-0x0;var _0x1627e9=_0x26ff[_0xd04f6b];return _0x1627e9;};'use strict';var path=require(_0xf26f('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0xf26f('0x1')](path[_0xf26f('0x2')](cfg['root'],_0xf26f('0x3')))};var pm2config={'apps':[{'name':_0xf26f('0x4'),'script':path[_0xf26f('0x2')](__dirname,_0xf26f('0x5')),'env':env},{'name':_0xf26f('0x6'),'script':path[_0xf26f('0x2')](__dirname,_0xf26f('0x7')),'env':env},{'name':_0xf26f('0x8'),'script':path['join'](__dirname,_0xf26f('0x9')),'env':env},{'name':_0xf26f('0xa'),'script':path[_0xf26f('0x2')](__dirname,_0xf26f('0xb')),'env':env},{'name':_0xf26f('0xc'),'script':path[_0xf26f('0x2')](__dirname,'../../services/routing/index.js'),'env':env},{'name':'xdr','script':path[_0xf26f('0x2')](__dirname,_0xf26f('0xd')),'env':env}]};module['exports']=pm2config;