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