Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Drop an unused install-dir constant

Juan Denisf840744341b3
diff --git a/backend/app/services/disk_reclaim_service.py b/backend/app/services/disk_reclaim_service.py
index 6a02f309..fd768ac7 100644
--- a/backend/app/services/disk_reclaim_service.py
+++ b/backend/app/services/disk_reclaim_service.py
@@ -36,7 +36,6 @@ from app.utils.system import run_checked
# ── Defaults (overridable per call so tests never touch real paths) ──────────
-INSTALL_DIR = os.environ.get('SERVERKIT_DIR', '/opt/serverkit')
# Must match BACKUP_DIR in scripts/update.sh — that is what writes the
# snapshots this module reclaims.
BACKUP_DIR = os.environ.get('SERVERKIT_BACKUP_DIR', '/var/backups/serverkit')