33b44bd918fdbe8e7cc7000c1dd82581ca0dba1f
[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 _0x8cc4=['email','../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','../../config/environment','resolve','join','root','express','../../services/express/index.js','ami','../../services/ami/index.js','../../services/agi/index.js'];(function(_0x241799,_0x32be9e){var _0x5f3c66=function(_0x2cf55c){while(--_0x2cf55c){_0x241799['push'](_0x241799['shift']());}};_0x5f3c66(++_0x32be9e);}(_0x8cc4,0x1f4));var _0x48cc=function(_0xa72f73,_0x8058d1){_0xa72f73=_0xa72f73-0x0;var _0x190264=_0x8cc4[_0xa72f73];return _0x190264;};'use strict';var path=require(_0x48cc('0x0'));var cfg=require(_0x48cc('0x1'));var env={'NODE_PATH':path[_0x48cc('0x2')](path[_0x48cc('0x3')](cfg[_0x48cc('0x4')],'legacy-libs'))};var pm2config={'apps':[{'name':_0x48cc('0x5'),'script':path['join'](__dirname,_0x48cc('0x6')),'env':env},{'name':_0x48cc('0x7'),'script':path[_0x48cc('0x3')](__dirname,_0x48cc('0x8')),'env':env},{'name':'agi','script':path[_0x48cc('0x3')](__dirname,_0x48cc('0x9')),'env':env},{'name':_0x48cc('0xa'),'script':path['join'](__dirname,_0x48cc('0xb')),'env':env},{'name':_0x48cc('0xc'),'script':path[_0x48cc('0x3')](__dirname,_0x48cc('0xd')),'env':env},{'name':_0x48cc('0xe'),'script':path['join'](__dirname,_0x48cc('0xf')),'env':env}]};module[_0x48cc('0x10')]=pm2config;