From 1baea55e96ddb9e56e13fcb8d819dd13a600f66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 13 Jun 2019 22:59:59 +0200 Subject: [PATCH] Remove old uwsgi config in upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index b0429be..3998849 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -51,6 +51,9 @@ ynh_add_uwsgi_service 'pgadmin_user python_version' # Create a dedicated nginx config ynh_add_nginx_config +# Clean old uwsgi config +ynh_secure_remove /etc/uwsgi/apps-enabled/pgadmin.ini + #================================================= # GENERIC FINALIZATION #=================================================