From 2482289ad69037221f2b889f711df1a785fec86e Mon Sep 17 00:00:00 2001 From: Ingo Ratsdorf Date: Wed, 10 Sep 2025 08:57:08 +1200 Subject: [PATCH] Update install/ubuntu/start.ubuntu.sh Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- install/ubuntu/start.ubuntu.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/ubuntu/start.ubuntu.sh b/install/ubuntu/start.ubuntu.sh index 1a245ea2..78c986b2 100644 --- a/install/ubuntu/start.ubuntu.sh +++ b/install/ubuntu/start.ubuntu.sh @@ -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