summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiorgio Gilestro2024-03-22 18:07:44 +0000
committerGiorgio Gilestro2024-03-22 18:07:44 +0000
commit2721a0850adb47c175cc8a5f483909a0f463dcb2 (patch)
tree797107f016a677a6bc80572def6c726455df51c5
parent41d65ab73357f7eede70221bbea52904c67d8ac2 (diff)
downloadaur-ethoscope-device.tar.gz
Removing binary log from mariadb configuration
-rw-r--r--ethoscope-device.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/ethoscope-device.install b/ethoscope-device.install
index 31d27a694bcc..880454f7cccc 100644
--- a/ethoscope-device.install
+++ b/ethoscope-device.install
@@ -65,12 +65,12 @@ post_install() {
mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'ethoscope'@'%' WITH GRANT OPTION";
chown -R mysql:mysql /var/lib/mysql
- echo "setup mariadb configuration"
- echo '[server]' > /etc/my.cnf.d/server.cnf
- echo 'log-bin=mysql-bin' >> /etc/my.cnf.d/server.cnf
- echo 'binlog_format=mixed' >> /etc/my.cnf.d/server.cnf
- echo 'expire_logs_days = 10' >> /etc/my.cnf.d/server.cnf
- echo 'max_binlog_size = 100M' >> /etc/my.cnf.d/server.cnf
+ #echo "creating and handling binary log in mariadb configuration"
+ #echo '[server]' > /etc/my.cnf.d/server.cnf
+ #echo 'log-bin=mysql-bin' >> /etc/my.cnf.d/server.cnf
+ #echo 'binlog_format=mixed' >> /etc/my.cnf.d/server.cnf
+ #echo 'expire_logs_days = 10' >> /etc/my.cnf.d/server.cnf
+ #echo 'max_binlog_size = 100M' >> /etc/my.cnf.d/server.cnf
echo "install picamera settings into the boot/config.txt"
echo 'start_file=start_x.elf' > /boot/config.txt