needrestart checks which daemons need to be restarted after library upgrades. It is inspired by checkrestart from the debian-goodies package.
needrestart supports but does not require systemd. If systemd is not available or does not return a service name needrestart uses hooks to identify the corresponding System V init script. If a process inside a container (LXC, docker) it suggests to restart the entire container. needrestart contains a heuristic for different interpreter languages: it tries to detect if outdated script code/modules are in use (Java, Perl, Python, Ruby).
Changes in 3.3
- [Core] Configuration file is ignored. (Debian Bug#901999 by Andreas Schmidt email@example.com) (Debian Bug#902031 by Axel Beckert firstname.lastname@example.org) (Debian Bug#902049 by Jon email@example.com) (github issue #121 by Sven Hartge @shartge)
- [Interp] Supress uninitalized value if abs_path fails. (github issue #120 by Craig Andrews @candrews)