misc
This commit is contained in:
parent
6d41024a76
commit
b9d8d77d3a
@ -1,3 +1,4 @@
|
||||
# https://howto.biapy.com/fr/debian-gnu-linux/serveurs/mysql/installer-et-configurer-mysql-sur-debian
|
||||
# Use one file by InnoDB table.
|
||||
# Use Barracuda as InnoDB engine.
|
||||
# Allow InnoDB large indexs.
|
||||
|
@ -40,7 +40,7 @@ mysql_databases=`echo 'show databases' | mysql --user=${mysql_user} --password=$
|
||||
for database in $mysql_databases
|
||||
do
|
||||
if [ "${database}" == "information_schema" ] || [ "${database}" == "performance_schema" ]; then
|
||||
additional_mysqldump_params="--skip-lock-tables"
|
||||
additional_mysqldump_params="--skip-lock-tables --compact --no-autocommit "
|
||||
else
|
||||
additional_mysqldump_params=""
|
||||
fi
|
||||
|
@ -87,7 +87,7 @@ chmod +x /etc/zabbix/zabbix_agentd.scripts/nginx-stat.py
|
||||
echo -n "This is box is a proxmox CT? [Y|n] "
|
||||
read yn
|
||||
yn=${yn:-y}
|
||||
if [ "$yn" = "y" ]; then
|
||||
if [ "$yn" = "Y" ] || [ "$yn" = "y" ]; then
|
||||
cp "$_assets"/zabbix/proxmox-ct.conf "$_agent_conf_d"/
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user