Put every tmpfs path in one place both layers can read
This commit is contained in:
@@ -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'] ?? '');
|
||||
|
||||
Reference in New Issue
Block a user