mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 14:44:29 -04:00

Some checks are pending
CodeQL / Analyze (python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Build Docker image / buildx (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
13 lines
366 B
Python
13 lines
366 B
Python
from pathlib import Path
|
|
|
|
from archivebox.config import DATA_DIR, CONSTANTS
|
|
|
|
LOGS_DIR = CONSTANTS.LOGS_DIR
|
|
TMP_DIR = CONSTANTS.TMP_DIR
|
|
|
|
Path.mkdir(TMP_DIR, exist_ok=True)
|
|
CONFIG_FILE = TMP_DIR / "supervisord.conf"
|
|
PID_FILE = TMP_DIR / "supervisord.pid"
|
|
SOCK_FILE = TMP_DIR / "supervisord.sock"
|
|
LOG_FILE = TMP_DIR / "supervisord.log"
|
|
WORKER_DIR = TMP_DIR / "workers"
|