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:
parent
c9ae959fef
commit
173e6447ef
1 changed files with 11 additions and 11 deletions
|
@ -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
|
# REMOVE NGINX CONFIGURATION
|
||||||
|
@ -80,6 +69,17 @@ sudo rm /etc/nginx/conf.d/$domain.d/syncthing.conf
|
||||||
sudo systemctl reload nginx.service
|
sudo systemctl reload nginx.service
|
||||||
sudo yunohost app ssowatconf
|
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
|
# CLOSE A PORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue