Debian Codegraph @

ex/notify.d/README.needrestart

raw
1 Files located in /etc/needrestart/notify.d are used to notify running
2 user sessions about usage of outdated libraries.
3
4 needrestart runs any executable file (except *~, *.dpkg-*, *.ex) naturally
5 sorted by the filename for each notification. If the result code is 0 than
6 needrestart will stop to run the remaining notification binaries.
7
8
9 The following environment variables are set:
10
11 - NR_SESSION
12 Session identifier (tty device node or systemd's session name).
13 - NR_SESSPPID
14 The first pid in the session detected by needrestart.
15 - NR_UID
16 User ID of the session owner.
17 - NR_USERNAME
18 Username of the session owner.
19
20
21 The following file descriptors are used:
22
23 - /dev/stdin
24 The list of obsolete processes.
25 - /dev/stdout
26 Closed.
27 - /dev/stderr
28 Available in verbose mode (-v).