Built motion from commit c738b9ac.|2.6.25
[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 _0xf5c5=['ami','../../services/ami/index.js','../../services/agi/index.js','email','../../services/email/index.js','routing','../../services/routing/index.js','exports','path','resolve','join','root'];(function(_0x1011f2,_0x4aa3f2){var _0xbaae1b=function(_0x497923){while(--_0x497923){_0x1011f2['push'](_0x1011f2['shift']());}};_0xbaae1b(++_0x4aa3f2);}(_0xf5c5,0xbc));var _0x5f5c=function(_0x34853f,_0x45cc6f){_0x34853f=_0x34853f-0x0;var _0x13177b=_0xf5c5[_0x34853f];return _0x13177b;};'use strict';var path=require(_0x5f5c('0x0'));var cfg=require('../../config/environment');var env={'NODE_PATH':path[_0x5f5c('0x1')](path[_0x5f5c('0x2')](cfg[_0x5f5c('0x3')],'legacy-libs'))};var pm2config={'apps':[{'name':'express','script':path[_0x5f5c('0x2')](__dirname,'../../services/express/index.js'),'env':env},{'name':_0x5f5c('0x4'),'script':path[_0x5f5c('0x2')](__dirname,_0x5f5c('0x5')),'env':env},{'name':'agi','script':path[_0x5f5c('0x2')](__dirname,_0x5f5c('0x6')),'env':env},{'name':_0x5f5c('0x7'),'script':path[_0x5f5c('0x2')](__dirname,_0x5f5c('0x8')),'env':env},{'name':_0x5f5c('0x9'),'script':path[_0x5f5c('0x2')](__dirname,_0x5f5c('0xa')),'env':env},{'name':'xdr','script':path[_0x5f5c('0x2')](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0x5f5c('0xb')]=pm2config;