1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

REMOVE LOGROTATE CONFIGURATION

This commit is contained in:
yalh76 2019-04-13 17:23:49 +02:00
parent 302b7708bc
commit 3c7b832994

View file

@ -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