mirror of
https://github.com/YunoHost-Apps/civicrm_drupal7_ynh.git
synced 2024-09-03 18:16:19 +02:00
Removing hook
This commit is contained in:
parent
c88271b31d
commit
ba3004f28e
3 changed files with 3 additions and 26 deletions
|
@ -1,10 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
action=$1
|
||||
pending_dir=$4
|
||||
mysqlconf="${pending_dir}/../mysql/etc/mysql/my.cnf"
|
||||
|
||||
[[ "$action" == "pre" ]] || exit 0
|
||||
[[ -e "$mysqlconf" ]] || exit 0
|
||||
|
||||
sed --in-place "s@thread_stack = 128K@thread_stack = 192K@g" "${mysqlconf}"
|
|
@ -115,14 +115,6 @@ ynh_add_fpm_config --usage=low --footprint=low
|
|||
|
||||
#=================================================
|
||||
# SPECIFIC SETUP
|
||||
#=================================================
|
||||
# UPGRADE THREAD_STACK
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading thread_stack..."
|
||||
|
||||
cp -R ../conf/mysql_hook_regen_conf /usr/share/yunohost/hooks/conf_regen/34-mysql_$app
|
||||
yunohost tools regen-conf mysql --force
|
||||
|
||||
#=================================================
|
||||
# CREATE DRUSH ALIAS
|
||||
#=================================================
|
||||
|
|
|
@ -59,6 +59,9 @@ if ynh_legacy_permissions_exists; then
|
|||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
ynh_secure_remove --file="/usr/share/yunohost/hooks/conf_regen/34-mysql_$app"
|
||||
yunohost tools regen-conf mysql --force
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
#=================================================
|
||||
|
@ -110,14 +113,6 @@ ynh_add_fpm_config --usage=low --footprint=low
|
|||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
# UPGRADE THREAD_STACK
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading thread_stack..."
|
||||
|
||||
cp -R ../conf/mysql_hook_regen_conf /usr/share/yunohost/hooks/conf_regen/34-mysql_$app
|
||||
yunohost tools regen-conf mysql --force
|
||||
|
||||
#=================================================
|
||||
# SETUP THE CRON FILE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue