summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-04-19 09:58:53 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-04-19 09:58:53 +0700
commit2ce15d51ef2a06ebe999cb717ad31c8b48a08d40 (patch)
tree4f87cdbdbbe271f3fa8c3bc2e1b49fc72a43e12f
parent492f736bfd691e783e254f6c5b58e0f588c9bcfd (diff)
Add ecosystem config js for pm2
-rw-r--r--ecosystem.config.js13
1 files changed, 13 insertions, 0 deletions
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'
+ }
+ ]
+}