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:
commit
8d4eb91337
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue