mirror of
https://github.com/YunoHost-Apps/sonarr_ynh.git
synced 2024-09-03 20:26:19 +02:00
debug restore
This commit is contained in:
parent
486f748a67
commit
43707c4b1c
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,8 @@ source /usr/share/yunohost/helpers
|
|||
#=================================================
|
||||
ynh_script_progression --message="Restoring the app main directory..." --weight=2
|
||||
|
||||
# Remove the version installed by the deb package
|
||||
ynh_secure_remove "$install_dir"
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
|
@ -67,6 +69,10 @@ fi
|
|||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
|
||||
ynh_exec_warn cat "$install_dir/config.xml"
|
||||
ynh_exec_warn cat "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue