748c41924ad650d84a2338bca912a6f692e6cb9d
[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 _0x053b=['../../services/agi/index.js','email','../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','path','../../config/environment','resolve','join','legacy-libs','../../services/express/index.js','ami','../../services/ami/index.js'];(function(_0x2de500,_0x7175a0){var _0xa6dfa8=function(_0x315ecc){while(--_0x315ecc){_0x2de500['push'](_0x2de500['shift']());}};_0xa6dfa8(++_0x7175a0);}(_0x053b,0x1d8));var _0xb053=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x053b[_0x3dd15e];return _0x231fd0;};'use strict';var path=require(_0xb053('0x0'));var cfg=require(_0xb053('0x1'));var env={'NODE_PATH':path[_0xb053('0x2')](path[_0xb053('0x3')](cfg['root'],_0xb053('0x4')))};var pm2config={'apps':[{'name':'express','script':path[_0xb053('0x3')](__dirname,_0xb053('0x5')),'env':env},{'name':_0xb053('0x6'),'script':path['join'](__dirname,_0xb053('0x7')),'env':env},{'name':'agi','script':path['join'](__dirname,_0xb053('0x8')),'env':env},{'name':_0xb053('0x9'),'script':path['join'](__dirname,_0xb053('0xa')),'env':env},{'name':_0xb053('0xb'),'script':path[_0xb053('0x3')](__dirname,_0xb053('0xc')),'env':env},{'name':_0xb053('0xd'),'script':path[_0xb053('0x3')](__dirname,_0xb053('0xe')),'env':env}]};module['exports']=pm2config;