1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00

Apply last example_ynh

This commit is contained in:
yalh76 2019-03-08 00:33:05 +01:00
parent 84c36f948e
commit c0b8f66249

View file

@ -76,12 +76,6 @@ chown -R "$app":"$app" "$final_path"
mkdir -p /var/log/$app
chown -R $app:$app /var/log/$app
#=================================================
# RESTORE THE PHP-FPM CONFIGURATION
#=================================================
#ynh_restore_file "/etc/php/7.0/fpm/pool.d/$app.conf"
#=================================================
# SPECIFIC RESTORATION
#=================================================
@ -93,15 +87,6 @@ ynh_print_info "Reinstalling dependencies..."
ynh_install_app_dependencies ca-certificates
ynh_install_nodejs 8
#=================================================
# RESTORE THE MYSQL DATABASE
#=================================================
ynh_print_info "Restoring the PostgreSQL database..."
#db_pwd=$(ynh_app_setting_get $app mysqlpwd)
#ynh_mysql_setup_db $db_name $db_name $db_pwd
#ynh_mysql_connect_as $db_name $db_pwd $db_name < ./db.sql
#=================================================
# RESTORE SYSTEMD
#=================================================