#!/bin/bash
# /etc/rc.local - Custom Startup Script

# Warten bis Docker läuft
while ! systemctl is-active --quiet docker; do
    echo "Warte auf Docker..."
    sleep 2
done

# Portainer Container neu starten
/usr/bin/docker restart portainer

exit 0
