mirror of
https://github.com/hassio-addons/addon-bookstack.git
synced 2025-05-06 20:21:27 +00:00
13 lines
454 B
Text
13 lines
454 B
Text
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: Bookstack
|
|
# Runs the MySQL database server
|
|
# ==============================================================================
|
|
|
|
declare -a options
|
|
|
|
options+=(--"datadir=/data/mysql")
|
|
options+=(--"tmpdir=/tmp/")
|
|
options+=(--"user=mysql")
|
|
bashio::log.info "Starting MySQL..."
|
|
exec /usr/bin/mysqld_safe "${options[@]}"
|