fix : vérification écriture settings + script setup.sh #63

Merged
cedricAbonnel merged 7 commits from feat/wizard-multi-step into main 2026-05-14 22:50:37 +00:00
Showing only changes of commit 157c30f20c - Show all commits
+9
View File
@@ -60,6 +60,15 @@ find "$ROOT/public/_cache" -exec chmod ug+rw {} +
chown -R :"$WEB_GROUP" "$ROOT/.sessions"
chmod 770 "$ROOT/.sessions"
# ─── Groupe adm pour lecture des logs Apache ─────────────────────────────────
echo "→ Ajout de $WEB_GROUP au groupe adm (logs Apache)..."
if getent group adm > /dev/null 2>&1; then
usermod -aG adm "$WEB_GROUP"
echo " Redémarrer Apache pour que le changement prenne effet : systemctl restart apache2"
else
echo " Groupe adm absent, ignoré."
fi
# ─── Migrations SQL ───────────────────────────────────────────────────────────
echo "→ Migrations SQL..."
php "$ROOT/database/migrate.php"