checkrestart functionality for Debian and Red Hat Based systems
Identifies services (processes) that are linked against deleted files (for example after downloading an updated binary of a shared library).
Based on checkrestart script from debian-goodies (written by Matt Zimmerman for the Debian GNU/Linux distribution, https://packages.debian.org/debian-goodies) and psdel by Sam Morris.
|codeauthor:||Jiri Kotlin <firstname.lastname@example.org>|
restartcheck(ignorelist=None, blacklist=None, excludepid=None, verbose=True)¶
Analyzes files openeded by running processes and seeks for packages which need to be restarted.
CLI Example: .. code-block:: bash
salt '*' restartcheck.restartcheck