1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-04 08:54:39 +00:00

not check seaserv CCNET_CONF_DIR

This commit is contained in:
skywalker
2025-03-27 18:11:50 +08:00
parent 661d486dfe
commit f53cf84b40

View File

@@ -27,7 +27,7 @@ def _load_path_from_env(key, check=True):
print("Loading %s from %s" % (key, v))
return os.path.normpath(os.path.expanduser(v))
CCNET_CONF_PATH = _load_path_from_env('CCNET_CONF_DIR')
CCNET_CONF_PATH = _load_path_from_env('CCNET_CONF_DIR', check=False)
SEAFILE_CONF_DIR = _load_path_from_env('SEAFILE_CONF_DIR')
SEAFILE_CENTRAL_CONF_DIR = _load_path_from_env('SEAFILE_CENTRAL_CONF_DIR', check=False)
SEAFILE_RPC_PIPE_PATH = _load_path_from_env ("SEAFILE_RPC_PIPE_PATH", check=False)