1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/civicrm_drupal7_ynh.git synced 2024-09-03 18:16:19 +02:00

Apply example_ynh

This commit is contained in:
yalh76 2021-04-10 23:45:42 +02:00
parent ce0abafcba
commit 03053cf8c6
2 changed files with 7 additions and 0 deletions

View file

@ -196,6 +196,9 @@ ynh_script_progression --message="Storing the config file checksum..."
# Calculate and store the config file checksum into the app settings
ynh_store_file_checksum --file="$final_path/$app/sites/default/settings.php"
chmod 400 "$final_path/$app/sites/default/settings.php"
chown $app:$app "$final_path/$app/sites/default/settings.php"
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -135,6 +135,10 @@ ynh_exec_warn_less sudo -u $app env PATH=$PATH drush @$app variable-set --exact
update-alternatives --set php /usr/bin/php${YNH_DEFAULT_PHP_VERSION}
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R root:$app "$final_path"
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================