From b82590f644de376609a8a107040234412ddde775 Mon Sep 17 00:00:00 2001 From: rasheed Date: Wed, 17 Apr 2024 23:57:39 +0100 Subject: [PATCH] Added restart policies and log file paths to enhance application reliability and monitoring --- ecosystem.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ecosystem.config.js b/ecosystem.config.js index bff3451f..1120e3ba 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -2,5 +2,8 @@ module.exports = { apps: [{ name: "uptime-kuma", script: "./server/server.js", + restart_delay: 3000, + error_file: "./logs/uptime-kuma.err.log", + out_file: "./logs/uptime-kuma.out.log" }] };