Tweak log file paths

This commit is contained in:
Jeff Keller
2025-10-02 18:14:51 +00:00
parent dd113f7940
commit 70d63febda

View File

@@ -302,11 +302,12 @@ chown -R www-data:www-data "${INSTALL_DIR}/log" "${INSTALL_DIR}/api"
mkdir -p "${INSTALL_DIR}"/log/plugins mkdir -p "${INSTALL_DIR}"/log/plugins
chown -R www-data:www-data "${INSTALL_DIR}"/log/plugins chown -R www-data:www-data "${INSTALL_DIR}"/log/plugins
# Create the execution_queue.log file if it doesn't exist # Ensure plugins directory and log files exist right after mounting tmpfs
touch "${INSTALL_DIR}"/log/{app.log,execution_queue.log,app_front.log,app.php_errors.log,stderr.log,stdout.log,db_is_locked.log} mkdir -p "${INSTALL_DIR}/log/plugins"
touch "${INSTALL_DIR}"/api/user_notifications.json touch "${INSTALL_DIR}/log/{app.log,execution_queue.log,app_front.log,app.php_errors.log,stderr.log,stdout.log,db_is_locked.log}"
chown -R www-data:www-data "${INSTALL_DIR}"/log "${INSTALL_DIR}"/api touch "${INSTALL_DIR}/api/user_notifications.json"
chmod -R ug+rwX "${INSTALL_DIR}"/log "${INSTALL_DIR}"/api chown -R www-data:www-data "${INSTALL_DIR}/log" "${INSTALL_DIR}/api"
chmod -R ug+rwX "${INSTALL_DIR}/log" "${INSTALL_DIR}/api"
printf "%b\n" "--------------------------------------------------------------------------" printf "%b\n" "--------------------------------------------------------------------------"
printf "%b\n" "${GREEN}[INSTALLING] ${RESET}Setting up DB and CONF files" printf "%b\n" "${GREEN}[INSTALLING] ${RESET}Setting up DB and CONF files"