This file is indexed.

/etc/apt/apt.conf.d/99needrestart is in needrestart 0.5-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
9
# needrestart - Restart daemons after library updates.
#
# Call needrestart after package upgrades/installations and check
# for pending service restarts. This is a quite simple approach,
# a more sophisticated approach can be found in the $SOURCES/ex/apt/
# directory.
#

DPkg::Post-Invoke {"test -x /usr/sbin/needrestart && /usr/sbin/needrestart || true"; };