diff --git a/scripts/remove b/scripts/remove index 822881a..85ab159 100644 --- a/scripts/remove +++ b/scripts/remove @@ -73,10 +73,7 @@ ynh_remove_nginx_config ynh_print_info "Removing logrotate configuration" # Remove the app-specific logrotate config -if [ -f /etc/logrotate.d/syncthing ] -then - sudo rm /etc/logrotate.d/syncthing -fi +ynh_remove_logrotate #================================================= # CLOSE A PORT