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:
parent
302b7708bc
commit
3c7b832994
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue