From 2ce15d51ef2a06ebe999cb717ad31c8b48a08d40 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 19 Apr 2024 09:58:53 +0700 Subject: Add ecosystem config js for pm2 --- ecosystem.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ecosystem.config.js diff --git a/ecosystem.config.js b/ecosystem.config.js new file mode 100644 index 0000000..56456b9 --- /dev/null +++ b/ecosystem.config.js @@ -0,0 +1,13 @@ +module.exports = { + apps: [ + { + name: 'fin-stockopname', + script: 'npm', + args: 'start', + instances: 1, + autorestart: true, + watch: false, + max_memory_restart: '1G' + } + ] +} -- cgit v1.2.3