c6a7d41f7cbb5e69a7763e29b205c7846de8a18e
[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 _0xbe83=['../../services/xdr/index.js','../../config/environment','resolve','join','legacy-libs','../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','email','routing','../../services/routing/index.js','xdr'];(function(_0x164eca,_0x555e28){var _0x2ce562=function(_0x148ca6){while(--_0x148ca6){_0x164eca['push'](_0x164eca['shift']());}};_0x2ce562(++_0x555e28);}(_0xbe83,0xef));var _0x3be8=function(_0x1ca250,_0x2c5a76){_0x1ca250=_0x1ca250-0x0;var _0x25ea4c=_0xbe83[_0x1ca250];return _0x25ea4c;};'use strict';var path=require('path');var cfg=require(_0x3be8('0x0'));var env={'NODE_PATH':path[_0x3be8('0x1')](path[_0x3be8('0x2')](cfg['root'],_0x3be8('0x3')))};var pm2config={'apps':[{'name':'express','script':path['join'](__dirname,_0x3be8('0x4')),'env':env},{'name':_0x3be8('0x5'),'script':path[_0x3be8('0x2')](__dirname,_0x3be8('0x6')),'env':env},{'name':_0x3be8('0x7'),'script':path[_0x3be8('0x2')](__dirname,_0x3be8('0x8')),'env':env},{'name':_0x3be8('0x9'),'script':path[_0x3be8('0x2')](__dirname,'../../services/email/index.js'),'env':env},{'name':_0x3be8('0xa'),'script':path[_0x3be8('0x2')](__dirname,_0x3be8('0xb')),'env':env},{'name':_0x3be8('0xc'),'script':path['join'](__dirname,_0x3be8('0xd')),'env':env}]};module['exports']=pm2config;