mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-16 23:30:42 +01:00
graylog: save password to root
This commit is contained in:
@@ -54,6 +54,11 @@ service graylog start
|
|||||||
sleep 10
|
sleep 10
|
||||||
CONFIG_DETAILS="$(cat /var/log/graylog/server.log | grep -m 1 "Initial configuration")"
|
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
|
# Done
|
||||||
echo "---------------"
|
echo "---------------"
|
||||||
echo "Installation complete."
|
echo "Installation complete."
|
||||||
|
|||||||
Reference in New Issue
Block a user