mirror of
https://github.com/YunoHost-Apps/syncthing_ynh.git
synced 2024-09-03 20:26:23 +02:00
implement ynh_remove_logrotate
This commit is contained in:
parent
64512ea3aa
commit
72cc1bb848
1 changed files with 1 additions and 4 deletions
|
@ -73,10 +73,7 @@ ynh_remove_nginx_config
|
||||||
ynh_print_info "Removing logrotate configuration"
|
ynh_print_info "Removing logrotate configuration"
|
||||||
|
|
||||||
# Remove the app-specific logrotate config
|
# Remove the app-specific logrotate config
|
||||||
if [ -f /etc/logrotate.d/syncthing ]
|
ynh_remove_logrotate
|
||||||
then
|
|
||||||
sudo rm /etc/logrotate.d/syncthing
|
|
||||||
fi
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CLOSE A PORT
|
# CLOSE A PORT
|
||||||
|
|
Loading…
Add table
Reference in a new issue