diff --git a/scripts/upgrade b/scripts/upgrade index 3a8831f..8965cb9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -17,18 +17,11 @@ path=${path%/} sudo apt-get update -qq sudo apt-get upgrade syncthing -y -# Update and reload Nginx -sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf -sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/syncthing.conf -sudo service nginx reload - - # Update Nginx configuration sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf sed -i "s@PORTTOCHANGE@$GUIPORT@g" ../conf/nginx.conf sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/syncthing.conf - # And reload sudo service nginx reload sudo yunohost app ssowatconf