mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-15 23:54:48 -04:00
add missing setting to timzeone.
This commit is contained in:
parent
a564822e26
commit
2979e78311
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue