This commit is contained in:
tremor021 2025-09-27 22:24:59 +02:00
parent fa7da3bafa
commit 23c631ee28

View File

@ -39,6 +39,7 @@ RestartSec=5
WantedBy=multi-user.target
EOF
systemctl enable -q --now goaway
sleep 10
for i in {1..30}; do
ADMIN_PASS=$(awk -F': ' "/Randomly generated admin password:/ {print \$2; exit}" /var/log/goaway.log)
[ -n "$ADMIN_PASS" ] && break