1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webtrees_ynh.git synced 2024-09-03 18:26:37 +02:00
This commit is contained in:
yalh76 2019-04-18 04:59:41 +02:00
parent 3f638e9f75
commit 0f406b6ff0

View file

@ -101,13 +101,6 @@ ynh_print_info "Configuring php-fpm..."
# Create a dedicated php-fpm config
ynh_add_fpm_config
#=================================================
# SET RIGHT PERMISSION FOR APP
#=================================================
chown -R $app: $final_path
sudo chmod -R 700 $final_path/data
#=================================================
# MODIFY A CONFIG FILE
#=================================================
@ -138,6 +131,13 @@ ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < "../conf/sql/admin.sql"
# Calculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/data/config.ini.php"
#=================================================
# SET RIGHT PERMISSION FOR APP
#=================================================
chown -R $app: $final_path
sudo chmod -R 700 $final_path/data
#=================================================
# SETUP SSOWAT
#=================================================