kopie van
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-01-15 08:12:00 +01:00
Read timezone from /etc/timezone.
This commit is contained in:
bovenliggende
6b52105b62
commit
2cab02c831
@ -41,7 +41,7 @@ if [ $needs_update == 1 ]; then
|
||||
fi
|
||||
|
||||
# Configure default config.
|
||||
sed -i "s/define('TIMEZONE', .*/define('TIMEZONE', 'Etc\/UTC');/" /usr/local/lib/z-push/config.php
|
||||
sed -i "s^define('TIMEZONE', .*^define('TIMEZONE', '$(cat /etc/timezone)');^" /usr/local/lib/z-push/config.php
|
||||
sed -i "s/define('BACKEND_PROVIDER', .*/define('BACKEND_PROVIDER', 'BackendCombined');/" /usr/local/lib/z-push/config.php
|
||||
|
||||
# Configure BACKEND
|
||||
|
||||
Laden…
Verwijs in nieuw issue
Block a user