Skip to content

Commit

Permalink
Use ${MARIADB_DATA} everywhere in run script (home-assistant#1776)
Browse files Browse the repository at this point in the history
Co-authored-by: Laszlo Magyar <>
  • Loading branch information
lmagyar authored Jan 25, 2021
1 parent aa4f2d7 commit 1caa587
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mariadb/rootfs/etc/services.d/mariadb/run
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ else
fi

# Redirect log output
rm -f /data/databases/mariadb.err
ln -s /proc/1/fd/1 /data/databases/mariadb.err
rm -f "${MARIADB_DATA}/mariadb.err"
ln -s /proc/1/fd/1 "${MARIADB_DATA}/mariadb.err"

# Start mariadb
bashio::log.info "Starting MariaDB"
Expand Down

0 comments on commit 1caa587

Please sign in to comment.