e2b9bb87b8588589929c5e16b743e391ec551858
[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 _0x0f5b=['../../services/xdr/index.js','path','join','root','legacy-libs','express','../../services/express/index.js','../../services/ami/index.js','agi','email','../../services/email/index.js','routing'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0x0f5b,0x18d));var _0xb0f5=function(_0x815de6,_0x2772bc){_0x815de6=_0x815de6-0x0;var _0x5251d5=_0x0f5b[_0x815de6];return _0x5251d5;};'use strict';var path=require(_0xb0f5('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path['resolve'](path[_0xb0f5('0x1')](cfg[_0xb0f5('0x2')],_0xb0f5('0x3')))};var pm2config={'apps':[{'name':_0xb0f5('0x4'),'script':path[_0xb0f5('0x1')](__dirname,_0xb0f5('0x5')),'env':env},{'name':'ami','script':path[_0xb0f5('0x1')](__dirname,_0xb0f5('0x6')),'env':env},{'name':_0xb0f5('0x7'),'script':path[_0xb0f5('0x1')](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0xb0f5('0x8'),'script':path[_0xb0f5('0x1')](__dirname,_0xb0f5('0x9')),'env':env},{'name':_0xb0f5('0xa'),'script':path[_0xb0f5('0x1')](__dirname,'../../services/routing/index.js'),'env':env},{'name':'xdr','script':path[_0xb0f5('0x1')](__dirname,_0xb0f5('0xb')),'env':env}]};module['exports']=pm2config;