From 5285daff83ac31a1a65ce81a81a163dfb9648e3f Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Thu, 19 Dec 2024 11:51:27 -0500 Subject: [PATCH] add docs on nginx_clean removing disabled PUNs --- .../commands/nginx-stage/commands/nginx-clean.rst | 5 +++++ source/release-notes/v4.0-release-notes.rst | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/source/reference/commands/nginx-stage/commands/nginx-clean.rst b/source/reference/commands/nginx-stage/commands/nginx-clean.rst index bfa5a5790..aca195b49 100644 --- a/source/reference/commands/nginx-stage/commands/nginx-clean.rst +++ b/source/reference/commands/nginx-stage/commands/nginx-clean.rst @@ -12,6 +12,11 @@ active connections. .. program:: nginx_stage nginx_clean + +.. note:: + Since 4.0 ``nginx_clean`` also cleans per-user NGINX (PUN) processes + for users that have been disabled (removed from LDAP). + General Options --------------- diff --git a/source/release-notes/v4.0-release-notes.rst b/source/release-notes/v4.0-release-notes.rst index fde806732..f4ec77a91 100644 --- a/source/release-notes/v4.0-release-notes.rst +++ b/source/release-notes/v4.0-release-notes.rst @@ -23,6 +23,7 @@ New Features - `Remove runtime dependency on SCL`_ - `XDMoD efficiency widget update`_ - `Edit and delete interactive application saved settings`_ +- `nginx_clean now cleans PUNs of disabled users`_ Thanks! ------- @@ -407,3 +408,16 @@ these saved settings. See :ref:`edit-save-interactive-app-saved-settings` for more details. + +nginx_clean now cleans PUNs of disabled users +............................................. + +The helper method ``nginx_clean`` in the ``nginx_stage`` +library will now remove PUNs and related files for users +that have been disabled. + +Disabled users have been deleted from LDAP and are no longer +valid users on that system. + +This means that centers that delete users (remove them from LDAP) +will also now start to clean those processes on the OnDemand machine.