4f090419bd3adbe23fdd85c21823f45102745cf3
[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 _0x92ea=['../../services/agi/index.js','email','../../services/email/index.js','routing','xdr','../../services/xdr/index.js','exports','path','resolve','root','legacy-libs','express','join','../../services/express/index.js','../../services/ami/index.js','agi'];(function(_0x685346,_0x3ef2e5){var _0x52e15b=function(_0x4435da){while(--_0x4435da){_0x685346['push'](_0x685346['shift']());}};_0x52e15b(++_0x3ef2e5);}(_0x92ea,0xf7));var _0xa92e=function(_0x37de50,_0x27f82a){_0x37de50=_0x37de50-0x0;var _0x2c37dc=_0x92ea[_0x37de50];return _0x2c37dc;};'use strict';var path=require(_0xa92e('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0xa92e('0x1')](path['join'](cfg[_0xa92e('0x2')],_0xa92e('0x3')))};var pm2config={'apps':[{'name':_0xa92e('0x4'),'script':path[_0xa92e('0x5')](__dirname,_0xa92e('0x6')),'env':env},{'name':'ami','script':path[_0xa92e('0x5')](__dirname,_0xa92e('0x7')),'env':env},{'name':_0xa92e('0x8'),'script':path[_0xa92e('0x5')](__dirname,_0xa92e('0x9')),'env':env},{'name':_0xa92e('0xa'),'script':path[_0xa92e('0x5')](__dirname,_0xa92e('0xb')),'env':env},{'name':_0xa92e('0xc'),'script':path[_0xa92e('0x5')](__dirname,'../../services/routing/index.js'),'env':env},{'name':_0xa92e('0xd'),'script':path['join'](__dirname,_0xa92e('0xe')),'env':env}]};module[_0xa92e('0xf')]=pm2config;