Skip to content

Commit

Permalink
Java TZ setzen
Browse files Browse the repository at this point in the history
Signed-off-by: openhabian <openhabian@openHABian>
  • Loading branch information
openhabian authored and openhabian committed Aug 16, 2024
1 parent ca8ed1f commit 212cf61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/storm.house.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 212cf61

Please sign in to comment.