Debian Codegraph @

ex/99needrestart

raw
1 # needrestart - Restart daemons after library updates.
2 #
3 # Call needrestart after package upgrades/installations and check
4 # for pending service restarts. This is a quite simple approach,
5 # a more sophisticated approach can be found in the $SOURCES/ex/apt/
6 # directory.
7 #
8
9 DPkg::Post-Invoke {"test -x /usr/sbin/needrestart && /usr/sbin/needrestart || true"; };