Update install/ubuntu/start.ubuntu.sh

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
Ingo Ratsdorf
2025-09-10 08:57:08 +12:00
committed by GitHub
parent 7863ab3b03
commit 2482289ad6

View File

@@ -143,11 +143,11 @@ fi
# create log and api mounts
echo "[INSTALL] Create log and api mounts"
sudo umount "${INSTALL_DIR}"/log
sudo umount "${INSTALL_DIR}"/api
sudo mount tmpfs -t tmpfs "${INSTALL_DIR}"/log
sudo mount tmpfs -t tmpfs "${INSTALL_DIR}"/api
mkdir -p "${INSTALL_DIR}/log" "${INSTALL_DIR}/api"
sudo umount "${INSTALL_DIR}/log" 2>/dev/null || true
sudo umount "${INSTALL_DIR}/api" 2>/dev/null || true
sudo mount -t tmpfs -o size=32m,noexec,nosuid,nodev tmpfs "${INSTALL_DIR}/log"
sudo mount -t tmpfs -o size=16m,noexec,nosuid,nodev tmpfs "${INSTALL_DIR}/api"
# Create an empty log files
# Create the execution_queue.log file if it doesn't exist