GraphQL and API docs #933 + create /plugins log folder #921

This commit is contained in:
jokob-sk
2025-01-06 09:22:34 +11:00
parent b2c445e39d
commit 58eaa33f39
7 changed files with 185 additions and 9 deletions

View File

@@ -108,6 +108,8 @@ fi
# Create the execution_queue.log and app_front.log files if they don't exist
touch "${INSTALL_DIR}"/log/{app.log,execution_queue.log,app_front.log,app.php_errors.log,stderr.log,stdout.log,db_is_locked.log}
touch "${INSTALL_DIR}"/api/user_notifications.json
# Create plugins sub-directory if it doesn't exist in case a custom log folder is used
mkdir -p "${INSTALL_DIR}"/log/plugins
echo "[INSTALL] Fixing permissions after copied starter config & DB"
chown -R nginx:www-data "${INSTALL_DIR}"/{config,log,db,api}