Use LXC_TIMEZONE in nextcloud/mailpiler instead of hardcoded "Europe/Berlin"
hpannenb opened this issue · 3 comments
hpannenb commented
Nextcloud and mailpiler installation scripts do not use the configured LXC_TIMEZONE of zamba.conf but "Europe/Berlin" hardcoded instead.
hpannenb commented
Nextcloud:
-
Mailpiler:
hpannenb commented
For line 63 and 70 it is maybe better to use "s|;date.timezone.*|date.timezone = $LXC_TIMEZONE|"
to make it work without escaping (Source: https://www.brianchildress.co/using-variables-with-sed/)
hpannenb commented
Installing nextcloud with e.g. LXC_TIMEZONE="Europe/Amsterdam" works as supposed to. Mailpiler's container uses this as well now. Issue fixed. Thanks for all the effort spent.