mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-11 09:30:00 +01:00
graylog: save password to root
This commit is contained in:
@@ -54,6 +54,11 @@ service graylog start
|
||||
sleep 10
|
||||
CONFIG_DETAILS="$(cat /var/log/graylog/server.log | grep -m 1 "Initial configuration")"
|
||||
|
||||
# Save Passwords
|
||||
echo "${APP_NAME} admin user is admin" > /root/${APP_NAME}-Info.txt
|
||||
echo "${APP_NAME} admin password is ${DB_PASSWORD}" >> /root/${APP_NAME}-Info.txt
|
||||
echo "${CONFIG_DETAILS}" >> /root/${APP_NAME}-Info.txt
|
||||
|
||||
# Done
|
||||
echo "---------------"
|
||||
echo "Installation complete."
|
||||
|
||||
Reference in New Issue
Block a user