627a495e6ab04be21f0be0b3291a61b655a68783
[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 _0xcc7b=['path','resolve','join','root','../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','email','../../services/email/index.js','routing','xdr','exports'];(function(_0x199572,_0x33e667){var _0x13cfa3=function(_0x53c075){while(--_0x53c075){_0x199572['push'](_0x199572['shift']());}};_0x13cfa3(++_0x33e667);}(_0xcc7b,0x10a));var _0xbcc7=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xcc7b[_0xfae23b];return _0x200640;};'use strict';var path=require(_0xbcc7('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0xbcc7('0x1')](path[_0xbcc7('0x2')](cfg[_0xbcc7('0x3')],'legacy-libs'))};var pm2config={'apps':[{'name':'express','script':path['join'](__dirname,_0xbcc7('0x4')),'env':env},{'name':_0xbcc7('0x5'),'script':path[_0xbcc7('0x2')](__dirname,_0xbcc7('0x6')),'env':env},{'name':_0xbcc7('0x7'),'script':path[_0xbcc7('0x2')](__dirname,_0xbcc7('0x8')),'env':env},{'name':_0xbcc7('0x9'),'script':path['join'](__dirname,_0xbcc7('0xa')),'env':env},{'name':_0xbcc7('0xb'),'script':path[_0xbcc7('0x2')](__dirname,'../../services/routing/index.js'),'env':env},{'name':_0xbcc7('0xc'),'script':path[_0xbcc7('0x2')](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0xbcc7('0xd')]=pm2config;