mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-11 01:19:56 +01:00
graylog: Wait for server to start before printing password
This commit is contained in:
@@ -51,6 +51,7 @@ service mongod start
|
||||
service graylog start
|
||||
|
||||
# Retrieve Initial Configuration Details
|
||||
wait 10
|
||||
CONFIG_DETAILS="$(cat /var/log/graylog/server.log | grep -m 1 "Initial configuration")"
|
||||
|
||||
# Done
|
||||
|
||||
Reference in New Issue
Block a user