From 2979e783111440737ba02c556c368cdde9bb1a48 Mon Sep 17 00:00:00 2001 From: edgd1er Date: Fri, 29 Oct 2021 18:53:52 +0200 Subject: [PATCH] add missing setting to timzeone. --- docker/entrypoint.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/entrypoint.py b/docker/entrypoint.py index 3ccfb58..17cff0e 100755 --- a/docker/entrypoint.py +++ b/docker/entrypoint.py @@ -50,6 +50,9 @@ def change_tz(): loggersrv.info("Setting timzeone to %s" % tz ) os.remove('/etc/localtime') os.symlink(os.path.join('/usr/share/zoneinfo/', tz), '/etc/localtime') + f = open("/etc/timezone", "w") + f.write(tz) + f.close() # Main