needrestart 0.6

Posted on 2014-04-07 in Projects • 1 min read

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 (available since v0.6). If systemd is not available or does not return a service name needrestart uses hooks to identify the corresponding System V init script. The shipped hooks support the following package managers:

  • dpkg
  • rpm
  • pacman

The service command is used to run the tradiditional System V init script.

Changes in 0.6

  • Add lightdm to blacklist. (Debian Bug#735027 by Michael Gilbert <>)
  • Print eval exception message on config file errors.
  • Use systemd if available. (Debian Bug#731028 by Paul Wise <>)
  • Use service to run traditional SysV scripts.
  • Change batch processing output.
  • Print full restart commands in list mode. (Debian Bug#731028 by Paul Wise <>)

See also