9f96c69da9d7d6c5483f84fd12bd8286581cb8f2
[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 _0x9595=['../../services/email/index.js','routing','../../services/routing/index.js','xdr','../../services/xdr/index.js','exports','path','../../config/environment','resolve','join','legacy-libs','ami','../../services/ami/index.js','agi','email'];(function(_0x484e47,_0x155a54){var _0x5c6ea5=function(_0x312683){while(--_0x312683){_0x484e47['push'](_0x484e47['shift']());}};_0x5c6ea5(++_0x155a54);}(_0x9595,0x141));var _0x5959=function(_0x524451,_0x3f6a5d){_0x524451=_0x524451-0x0;var _0xb369b6=_0x9595[_0x524451];return _0xb369b6;};'use strict';var path=require(_0x5959('0x0'));var cfg=require(_0x5959('0x1'));var env={'NODE_PATH':path[_0x5959('0x2')](path[_0x5959('0x3')](cfg['root'],_0x5959('0x4')))};var pm2config={'apps':[{'name':'express','script':path[_0x5959('0x3')](__dirname,'../../services/express/index.js'),'env':env},{'name':_0x5959('0x5'),'script':path[_0x5959('0x3')](__dirname,_0x5959('0x6')),'env':env},{'name':_0x5959('0x7'),'script':path['join'](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0x5959('0x8'),'script':path[_0x5959('0x3')](__dirname,_0x5959('0x9')),'env':env},{'name':_0x5959('0xa'),'script':path[_0x5959('0x3')](__dirname,_0x5959('0xb')),'env':env},{'name':_0x5959('0xc'),'script':path[_0x5959('0x3')](__dirname,_0x5959('0xd')),'env':env}]};module[_0x5959('0xe')]=pm2config;