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

Merge pull request #102 from yunohost-bot/delete-log-removal

[autopatch] Do not delete logs on app removal
This commit is contained in:
eric_G 2024-07-08 10:18:13 +02:00 committed by GitHub
commit 8d4eb91337
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,10 +38,6 @@ ynh_remove_nginx_config
ynh_script_progression --message="Removing Fail2Ban configuration..." --weight=1 ynh_script_progression --message="Removing Fail2Ban configuration..." --weight=1
ynh_remove_fail2ban_config ynh_remove_fail2ban_config
# Remove logs
ynh_script_progression --message="Removing logs..." --weight=2
ynh_secure_remove --file="/var/log/$app"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================