From c6247cbbea2242dd0222651fe72ef245907a3f1d Mon Sep 17 00:00:00 2001
From: anima
Date: Sat, 1 Feb 2025 22:59:23 +0100
Subject: [PATCH] chmod after init copy
---
init.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/init.sh b/init.sh
index 3aa3cd6..213e378 100644
--- a/init.sh
+++ b/init.sh
@@ -14,6 +14,8 @@ if [ -z "$(ls -A /data)" ]; then
echo init icingaweb2 config
cp -ax /data-init/* /data
rm -rf /data-init
+
+ chmod -R 33:33 /data
## check if a var exist they is must have for deployment
## because without this check, moduls init everytime and this blocks /setup page
@@ -46,5 +48,6 @@ fi
## init apache
. /etc/apache2/envvars
+# icinga2 daemon -C -X ?
# run CMD
exec "$@"
\ No newline at end of file