-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2031e2d
commit 6e6b3d0
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/with-contenv bashio | ||
# shellcheck shell=bash | ||
set -e | ||
|
||
if bashio::services.available 'mysql'; then | ||
bashio::log.green "---" | ||
bashio::log.yellow "MariaDB addon discovered on your system. If you want to use it, you need to use those values when doing the initial startup wizard, or modify manually the config.ini.php file in /config/data (mapped to /addon_configs/xxx-webtrees/data when accessing using a third party tool)" | ||
bashio::log.blue "Host-name : $(bashio::services "mysql" "host")" | ||
bashio::log.blue "Port : $(bashio::services "mysql" "port")" | ||
bashio::log.blue "Database user : $(bashio::services "mysql" "username")" | ||
bashio::log.blue "Database password : $(bashio::services "mysql" "password")" | ||
bashio::log.blue "Database name : webtrees" | ||
bashio::log.blue "Database prefix : wt_" | ||
bashio::log.green "---" | ||
fi |