8f1b14dba5ecff70d4fe71d5942c291ad427d2ab
[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 _0x29dc=['ami','../../services/ami/index.js','email','../../services/email/index.js','routing','xdr','../../services/xdr/index.js','exports','../../config/environment','resolve','join','express','../../services/express/index.js'];(function(_0x3a6fb9,_0x17c10f){var _0x16f830=function(_0x2b7243){while(--_0x2b7243){_0x3a6fb9['push'](_0x3a6fb9['shift']());}};_0x16f830(++_0x17c10f);}(_0x29dc,0x1e9));var _0xc29d=function(_0x136408,_0x56a4ae){_0x136408=_0x136408-0x0;var _0x3b93f9=_0x29dc[_0x136408];return _0x3b93f9;};'use strict';var path=require('path');var cfg=require(_0xc29d('0x0'));var env={'NODE_PATH':path[_0xc29d('0x1')](path[_0xc29d('0x2')](cfg['root'],'legacy-libs'))};var pm2config={'apps':[{'name':_0xc29d('0x3'),'script':path[_0xc29d('0x2')](__dirname,_0xc29d('0x4')),'env':env},{'name':_0xc29d('0x5'),'script':path[_0xc29d('0x2')](__dirname,_0xc29d('0x6')),'env':env},{'name':'agi','script':path[_0xc29d('0x2')](__dirname,'../../services/agi/index.js'),'env':env},{'name':_0xc29d('0x7'),'script':path[_0xc29d('0x2')](__dirname,_0xc29d('0x8')),'env':env},{'name':_0xc29d('0x9'),'script':path[_0xc29d('0x2')](__dirname,'../../services/routing/index.js'),'env':env},{'name':_0xc29d('0xa'),'script':path[_0xc29d('0x2')](__dirname,_0xc29d('0xb')),'env':env}]};module[_0xc29d('0xc')]=pm2config;