set log directory to /opt

This commit is contained in:
Stanislas Jouffroy 2025-05-23 16:36:35 +02:00
parent 5a5b936f32
commit 726e9756d6

View file

@ -4,7 +4,7 @@ from pathlib import Path
from config import LOG_LEVEL
LOGS_DIR = Path("/var", "log", "menu-creche")
LOGS_DIR = Path("/opt", "log", "menu-creche")
LOGS_DIR.mkdir(parents=True, exist_ok=True)