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

[fix] secure remove tmp and log folders

This commit is contained in:
tituspijean 2019-09-22 15:25:46 +02:00
parent 8219a8bfb2
commit a59bee8977

View file

@ -82,11 +82,11 @@ ynh_remove_logrotate
#=================================================
# Remove a temp directory securely
ynh_secure_remove --file="/tmp/$app/"
ynh_secure_remove --file="/tmp/$app"
ynh_secure_remove --file="/tmp/${app}backup"
# Remove the log files
ynh_secure_remove --file="/var/log/$app/"
ynh_secure_remove --file="/var/log/$app"
#=================================================
# GENERIC FINALIZATION