Update script now configures authbind/Port 80 automatically

This commit is contained in:
Gemini Bot
2026-01-20 13:29:28 +00:00
parent e1cc129d7d
commit e486d633c9

View File

@@ -29,6 +29,21 @@ git pull origin master
# Lokale Änderungen wiederherstellen
git stash pop
echo "=== System-Konfiguration (Port 80 / Authbind) ==="
# Sicherstellen, dass authbind installiert ist
if ! command -v authbind &> /dev/null; then
echo "Installiere authbind..."
apt-get update && apt-get install -y authbind
fi
# Port 80 Freigabe
if [ ! -f "/etc/authbind/byport/80" ]; then
echo "Konfiguriere Port 80 Zugriff..."
touch /etc/authbind/byport/80
chmod 500 /etc/authbind/byport/80
chown $USER /etc/authbind/byport/80
fi
echo "=== Setze Berechtigungen ==="
chmod +x *.sh
chown -R $USER:$USER "$TARGET_DIR"