improved webhook install, mysql comment innodb_buffer_pool_size

This commit is contained in:
2023-11-26 17:59:15 +01:00
parent 62c03fc009
commit cdcb034b6b
3 changed files with 7 additions and 2 deletions

View File

@@ -126,6 +126,9 @@ if [ "$installmysql" = "yes" ]; then
cp "$_assets"/mysql/innodb-file-per-table.cnf /etc/mysql/conf.d/
# you may increase memory
# innodb_buffer_pool_size = 1024M
systemctl enable mariadb.service
systemctl restart mariadb.service
echo -e "\033[92;1mmysql installed\033[Om"

View File

@@ -92,6 +92,7 @@ git --git-dir=/home/"$user"/git-repositories/"$_domain.git" remote add origin "$
# hook deploy script
cp -f "$_assets"/webhook-deploy.sh /home/"$user"/webhook-deploy-"$_id".sh
sed -i -r "s/DOMAIN/$_domain/g" /home/"$user"/webhook-deploy-"$_id".sh
sed -i -r "s/USER/$user/g" /home/"$user"/webhook-deploy-"$_id".sh
chowm $user:$user /home/"$user"/webhook-deploy-"$_id".sh
chmod +x /home/"$user"/webhook-deploy-"$_id".sh