fd9cb090623a2755eb3012234cdf041703bcb64b
[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 _0x6a35=['ami','../../services/ami/index.js','../../services/agi/index.js','email','../../services/email/index.js','routing','xdr','exports','path','../../config/environment','join','root','legacy-libs','../../services/express/index.js'];(function(_0x2e3107,_0x25f970){var _0x833d69=function(_0x420e78){while(--_0x420e78){_0x2e3107['push'](_0x2e3107['shift']());}};_0x833d69(++_0x25f970);}(_0x6a35,0x174));var _0x56a3=function(_0x368fb9,_0x1a9895){_0x368fb9=_0x368fb9-0x0;var _0x4892fb=_0x6a35[_0x368fb9];return _0x4892fb;};'use strict';var path=require(_0x56a3('0x0'));var cfg=require(_0x56a3('0x1'));var env={'NODE_PATH':path['resolve'](path[_0x56a3('0x2')](cfg[_0x56a3('0x3')],_0x56a3('0x4')))};var pm2config={'apps':[{'name':'express','script':path[_0x56a3('0x2')](__dirname,_0x56a3('0x5')),'env':env},{'name':_0x56a3('0x6'),'script':path[_0x56a3('0x2')](__dirname,_0x56a3('0x7')),'env':env},{'name':'agi','script':path[_0x56a3('0x2')](__dirname,_0x56a3('0x8')),'env':env},{'name':_0x56a3('0x9'),'script':path[_0x56a3('0x2')](__dirname,_0x56a3('0xa')),'env':env},{'name':_0x56a3('0xb'),'script':path[_0x56a3('0x2')](__dirname,'../../services/routing/index.js'),'env':env},{'name':_0x56a3('0xc'),'script':path[_0x56a3('0x2')](__dirname,'../../services/xdr/index.js'),'env':env}]};module[_0x56a3('0xd')]=pm2config;