mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 18:09:06 +02:00
Added uptime-kuma package
This commit is contained in:
parent
55dc85d432
commit
0fa0596f91
10 changed files with 6083 additions and 0 deletions
12
packages/uptime-kuma/fix-database-permissions.patch
Normal file
12
packages/uptime-kuma/fix-database-permissions.patch
Normal 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");
|
Loading…
Add table
Add a link
Reference in a new issue