Added uptime-kuma package

This commit is contained in:
Luj 2023-01-22 00:06:44 +01:00
parent 55dc85d432
commit 0fa0596f91
Signed by: luj
GPG key ID: 6FC74C847011FD83
10 changed files with 6083 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff --git a/server/server.js b/server/server.js
index 0c9a45e6..cec31c7c 100644
--- a/server/server.js
+++ b/server/server.js
@@ -1583,6 +1583,7 @@ async function initDatabase(testMode = false) {
if (! fs.existsSync(Database.path)) {
log.info("server", "Copying Database");
fs.copyFileSync(Database.templatePath, Database.path);
+ fs.chmodSync(Database.path, 0o640);
}
log.info("server", "Connecting to the Database");