From 212cf61819f6e79392ddb0009056c339505b34d2 Mon Sep 17 00:00:00 2001 From: openhabian Date: Fri, 16 Aug 2024 11:23:45 +0200 Subject: [PATCH] Java TZ setzen Signed-off-by: openhabian --- functions/storm.house.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/storm.house.bash b/functions/storm.house.bash index a5b2d435a..0752037d4 100644 --- a/functions/storm.house.bash +++ b/functions/storm.house.bash @@ -460,7 +460,7 @@ install_extras() { # timezone als Java-Parameter setzen - sed -ri "s|^(sshHost.*)|\\1,${tailscaleIP}|g" "$consoleProperties" + sed -ri "s|^(EXTRA_JAVA_OPTS.*)|\\1\nEXTRA_JAVA_OPTS=\"${EXTRA_JAVA_OPTS} -Duser.timezone=Europe/Berlin\"|g" "$consoleProperties" if [[ $(whoami) == "root" ]]; then if [[ ! -f /usr/local/sbin/upgrade_ems ]]; then