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

Delete log directory while removing app

This commit is contained in:
tituspijean 2021-11-08 23:53:40 +01:00
parent 7fa6303fec
commit 32823caf8d
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -75,6 +75,16 @@ ynh_script_progression --message="Removing logrotate configuration..." --weight=
# Remove the app-specific logrotate config
ynh_remove_logrotate
#=================================================
# SPECIFIC REMOVE
#=================================================
# REMOVE VARIOUS FILES
#=================================================
ynh_script_progression --message="Removing various files..." --weight=1
# Remove the log files
ynh_secure_remove --file="/var/log/$app"
#=================================================
# GENERIC FINALIZATION
#=================================================