improved webhook install, mysql comment innodb_buffer_pool_size
This commit is contained in:
@@ -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"
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user