From 72cc1bb84818d73036d709b8929d83976fcb7bd9 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 14 Apr 2019 01:20:59 +0200 Subject: [PATCH] implement ynh_remove_logrotate --- scripts/remove | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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