From 3c7b83299467fe797e0bbbd271a5748d089f44e8 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sat, 13 Apr 2019 17:23:49 +0200 Subject: [PATCH] REMOVE LOGROTATE CONFIGURATION --- scripts/remove | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/remove b/scripts/remove index 69c08e2..bf5ab3a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -70,7 +70,13 @@ sudo userdel $SYNCUSER # Close port in firewall sudo yunohost firewall disallow TCP $SYNCPORT -# Remove syncthing logrotate configuration + +#================================================= +# REMOVE LOGROTATE CONFIGURATION +#================================================= +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