a59124ed8a25636e39057ac6f2c43dd9ea9449c3
[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 _0x32ca=['routing','../../services/routing/index.js','path','../../config/environment','resolve','join','root','legacy-libs','express','../../services/express/index.js','ami','../../services/ami/index.js','agi','../../services/agi/index.js','email'];(function(_0x45dbe3,_0xd2bf96){var _0x1e71cf=function(_0x47d46d){while(--_0x47d46d){_0x45dbe3['push'](_0x45dbe3['shift']());}};_0x1e71cf(++_0xd2bf96);}(_0x32ca,0x1f1));var _0xa32c=function(_0x763347,_0x327d33){_0x763347=_0x763347-0x0;var _0x38d33b=_0x32ca[_0x763347];return _0x38d33b;};'use strict';var path=require(_0xa32c('0x0'));var cfg=require(_0xa32c('0x1'));var env={'NODE_PATH':path[_0xa32c('0x2')](path[_0xa32c('0x3')](cfg[_0xa32c('0x4')],_0xa32c('0x5')))};var pm2config={'apps':[{'name':_0xa32c('0x6'),'script':path[_0xa32c('0x3')](__dirname,_0xa32c('0x7')),'env':env},{'name':_0xa32c('0x8'),'script':path[_0xa32c('0x3')](__dirname,_0xa32c('0x9')),'env':env},{'name':_0xa32c('0xa'),'script':path['join'](__dirname,_0xa32c('0xb')),'env':env},{'name':_0xa32c('0xc'),'script':path['join'](__dirname,'../../services/email/index.js'),'env':env},{'name':_0xa32c('0xd'),'script':path[_0xa32c('0x3')](__dirname,_0xa32c('0xe')),'env':env},{'name':'xdr','script':path[_0xa32c('0x3')](__dirname,'../../services/xdr/index.js'),'env':env}]};module['exports']=pm2config;