From 1f59e511b563b988c9aa54462ff0eae1bcb113b0 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Thu, 25 Sep 2025 09:36:48 +0200 Subject: [PATCH] Update GoAway --- install/goaway-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/goaway-install.sh b/install/goaway-install.sh index 9e0139c3..1e021880 100644 --- a/install/goaway-install.sh +++ b/install/goaway-install.sh @@ -30,6 +30,8 @@ Type=simple User=root WorkingDirectory=/opt/goaway ExecStart=/opt/goaway/goaway +StandardOutput=file:/var/log/goaway.log +StandardError=inherit Restart=on-failure RestartSec=5 @@ -38,7 +40,7 @@ WantedBy=multi-user.target EOF systemctl enable -q --now goaway sleep 5 -ADMIN_PASS=$(journalctl -u goaway -o cat | grep -oP 'Randomly generated admin password:\s*\K\S+' | tail -n1) +ADMIN_PASS=$(grep -oP 'Randomly generated admin password:\s*\K\S+' /var/log/goaway.log | tail -n1) { echo "GoAway Credentials" echo "Admin User: admin"