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

Update restore

This commit is contained in:
oufmilo 2023-02-20 10:43:10 +01:00 committed by GitHub
parent c872ded25f
commit 7f56595903
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,13 @@ ynh_script_progression --message="Restoring the NGINX web server configuration..
ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# RESTORE THE POSTGRESQL DATABASE
#=================================================
ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=1
ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
#=================================================
# SECURE FILES AND DIRECTORIES
#=================================================