mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
fix if not set the time_zone the seahub will start error.
This commit is contained in:
parent
709ed6219a
commit
fe7016a77b
|
@ -154,7 +154,7 @@ def init_seafile_server():
|
||||||
}
|
}
|
||||||
COMPRESS_CACHE_BACKEND = 'locmem'""")
|
COMPRESS_CACHE_BACKEND = 'locmem'""")
|
||||||
fp.write('\n')
|
fp.write('\n')
|
||||||
fp.write("TIME_ZONE = '{time_zone}'".format(time_zone=os.getenv('TIME_ZONE')))
|
fp.write("TIME_ZONE = '{time_zone}'".format(time_zone=os.getenv('TIME_ZONE',default='Etc/UTC')))
|
||||||
fp.write('\n')
|
fp.write('\n')
|
||||||
fp.write('FILE_SERVER_ROOT = "{proto}://{domain}/seafhttp"'.format(proto=proto, domain=domain))
|
fp.write('FILE_SERVER_ROOT = "{proto}://{domain}/seafhttp"'.format(proto=proto, domain=domain))
|
||||||
fp.write('\n')
|
fp.write('\n')
|
||||||
|
|
Loading…
Reference in a new issue