GoAway update
This commit is contained in:
parent
dfd18d8697
commit
f4d9317f4d
@ -40,7 +40,7 @@ WantedBy=multi-user.target
|
|||||||
EOF
|
EOF
|
||||||
systemctl enable -q --now goaway
|
systemctl enable -q --now goaway
|
||||||
ADMIN_PASS=$(
|
ADMIN_PASS=$(
|
||||||
tail -F /var/log/goaway.log 2>/dev/null \
|
tail -n0 -f /var/log/goaway.log 2>/dev/null \
|
||||||
| grep -m1 'Randomly generated admin password:' \
|
| grep -m1 'Randomly generated admin password:' \
|
||||||
| awk -F': ' '{print $2}'
|
| awk -F': ' '{print $2}'
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user