From 942c3b44deda0b1749fb50d4f66e62eec62fa0cd Mon Sep 17 00:00:00 2001 From: IRONM00N Date: Thu, 27 May 2021 19:40:19 -0400 Subject: pm2 stuff --- ecosystem.config.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ecosystem.config.js (limited to 'ecosystem.config.js') diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..2e4b063 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,16 @@ +module.exports = { + apps: [ + { + name: 'BushBot-Dev', + script: 'yarn', + args: 'start', + out_file: './combined-dev.log', + error_file: './combined-dev.log', + max_memory_restart: '2000M', + node_args: ['--max_old_space_size=2048'], + env: { + FORCE_COLOR: '3' + } + } + ] +}; -- cgit