bashclub/zamba-lxc-toolbox

Use LXC_TIMEZONE in nextcloud/mailpiler instead of hardcoded "Europe/Berlin"

hpannenb opened this issue · 3 comments

Nextcloud and mailpiler installation scripts do not use the configured LXC_TIMEZONE of zamba.conf but "Europe/Berlin" hardcoded instead.

Nextcloud:

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/)

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.