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