From a5c65ae5833198e1f83093182d87447bc28dbb2f Mon Sep 17 00:00:00 2001 From: Rajdeep Malakar Date: Wed, 6 Mar 2024 17:58:25 +0530 Subject: [PATCH] Update ecosystem.config.js Signed-off-by: Rajdeep Malakar --- ecosystem.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 51d90cb..10ecfc4 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -1,6 +1,9 @@ +// This is a script to be used by PM2 +// To use it, run `pm2 start ecosystem.config.js` +// This script should be used in conjunction with the `check_and_restart.sh` file. module.exports = { apps : [{ name : "Xantic", - script : "./index.js", + script : "./src/index.js", }] -} +} \ No newline at end of file