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

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

[autopatch] Do not delete logs on app removal
This commit is contained in:
Krakinou 2024-07-11 08:06:45 +02:00 committed by GitHub
commit 3fa0b0526f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,6 @@ if [ "$domain" != "$mqtt_domain" ]; then
ynh_secure_remove --file="/usr/share/yunohost/hooks/conf_regen/95-nginx_domoticz"
ynh_secure_remove --file="/etc/nginx/conf.d/${mqtt_domain}.d/mqtt_${app}.conf"
yunohost tools regen-conf postfix
ynh_secure_remove --file="/var/log/mosquitto"
fi
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
@ -42,7 +41,6 @@ ynh_remove_logrotate
ynh_remove_fail2ban_config
ynh_secure_remove --file="/var/log/$app"
#=================================================
# END OF SCRIPT