Put every tmpfs path in one place both layers can read

This commit is contained in:
Gmer4Lfe
2026-08-08 22:57:29 -04:00
parent 0f92609425
commit d5c36db531
7 changed files with 119 additions and 23 deletions
+3 -1
View File
@@ -95,7 +95,9 @@ header('Content-Type: application/json');
// take, because the operator's next move is to try again on a machine that already did it.
require_once dirname(__DIR__) . '/include/config.php';
define('VV_JOB_DIR', '/tmp/varaverk_dk_jobs');
// VV_JOB_DIR is defined in config.php with every other tmpfs path, read from DOCKER_JOB_DIR in
// master.conf. It was declared here, inside an endpoint, which is why a survey of Varaverk's
// cache and job directories missed it entirely.
$action = trim($_POST['action'] ?? '');
$name = trim($_POST['name'] ?? '');