diff --git a/scripts/install b/scripts/install index c8bbf7b..c0fbfd3 100644 --- a/scripts/install +++ b/scripts/install @@ -98,5 +98,5 @@ yunohost app addaccess --users=$admin $app # Configuration de logrotate ynh_use_logrotate /var/log/pgadmin -# RELOAD NGINX +# reload uwsgi systemctl restart uwsgi diff --git a/scripts/remove b/scripts/remove index 599c879..d1676ea 100644 --- a/scripts/remove +++ b/scripts/remove @@ -49,3 +49,6 @@ ynh_secure_remove /etc/uwsgi/apps-enabled/pgadmin.ini # Delete a system user ynh_system_user_delete $app + +# reload uwsgi +systemctl restart uwsgi \ No newline at end of file diff --git a/scripts/restore b/scripts/restore index 8799944..cf1a70d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -53,6 +53,6 @@ yunohost app addaccess --users=$admin $app # Configuration de logrotate ynh_use_logrotate /var/log/pgadmin -# RELOAD NGINX AND PHP-FPM +# reload uwsgi and nginx systemctl restart uwsgi systemctl reload nginx diff --git a/scripts/upgrade b/scripts/upgrade index 89e32e7..58c32ba 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,5 +48,5 @@ set_permission # Create a dedicated nginx config ynh_add_nginx_config -# RELOAD NGINX -systemctl reload uwsgi +# reload uwsgi +systemctl restart uwsgi