create clickhouse data dir

This commit is contained in:
Yakov Olkhovskiy 2024-10-23 22:44:10 +00:00
parent f93ac138f1
commit 77c2b9e5fc

View File

@ -215,7 +215,8 @@ def main():
stopwatch = Stopwatch()
os.chown("/var/lib/clickhouse", 0, 0)
data_path = "/var/lib/clickhouse"
os.makedirs(data_path, exist_ok=True)
temp_path = Path(TEMP_PATH)
reports_path = Path(REPORT_PATH)