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:
parent
84c36f948e
commit
c0b8f66249
1 changed files with 0 additions and 15 deletions
|
@ -76,12 +76,6 @@ chown -R "$app":"$app" "$final_path"
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
chown -R $app:$app /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
|
# SPECIFIC RESTORATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -93,15 +87,6 @@ ynh_print_info "Reinstalling dependencies..."
|
||||||
ynh_install_app_dependencies ca-certificates
|
ynh_install_app_dependencies ca-certificates
|
||||||
ynh_install_nodejs 8
|
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
|
# RESTORE SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue