mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
Disable binlogging by default (#204)
* Add binlogging caps The default binlogging for mariadb will easily fill a modest disk after a couple of weeks on a busy instance. This setting will limit that usage and have mariadb rotate the logs out after 1 day. * Disable binlogging on mariadb Binlogging will, by default, run amok on the drive and fill it. It's also going to run a lot of write cycles to SD cards which will considerably shorten their lifespan. * Update run.sh * Update config.json
This commit is contained in:
committed by
Pascal Vizeli
parent
6edf139b61
commit
61a6e7cefe
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "MariaDB",
|
||||
"version": "0.1",
|
||||
"version": "0.2",
|
||||
"slug": "mariadb",
|
||||
"description": "An SQL database server",
|
||||
"url": "https://home-assistant.io/addons/mariadb/",
|
||||
|
||||
@@ -18,7 +18,7 @@ fi
|
||||
|
||||
# Start mariadb
|
||||
echo "[INFO] Start MariaDB"
|
||||
mysqld_safe --datadir="$MARIADB_DATA" --user=root < /dev/null &
|
||||
mysqld_safe --datadir="$MARIADB_DATA" --user=root --skip-log-bin < /dev/null &
|
||||
MARIADB_PID=$!
|
||||
|
||||
# Wait until DB is running
|
||||
|
||||
Reference in New Issue
Block a user