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

reorder REMOVE LOGROTATE CONFIGURATION

This commit is contained in:
yalh76 2019-04-13 17:27:22 +02:00
parent c9ae959fef
commit 173e6447ef

View file

@ -56,17 +56,6 @@ sudo mv $SYNCHOME $SYNCHOME.old
#=================================================
# 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
fi
#=================================================
# REMOVE NGINX CONFIGURATION
@ -80,6 +69,17 @@ sudo rm /etc/nginx/conf.d/$domain.d/syncthing.conf
sudo systemctl reload nginx.service
sudo yunohost app ssowatconf
#=================================================
# 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
fi
#=================================================
# CLOSE A PORT
#=================================================