File: README.needrestart

package info (click to toggle)
needrestart 3.6-4%2Bdeb12u3
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 936 kB
  • sloc: perl: 3,371; sh: 277; makefile: 82
file content (28 lines) | stat: -rw-r--r-- 784 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Files located in /etc/needrestart/notify.d are used to notify running
user sessions about usage of outdated libraries.

needrestart runs any executable file (except *~, *.dpkg-*, *.ex) naturally
sorted by the filename for each notification. If the result code is 0 than
needrestart will stop to run the remaining notification binaries.


The following environment variables are set:

- NR_SESSION
  Session identifier (tty device node or systemd's session name).
- NR_SESSPPID
  The first pid in the session detected by needrestart.
- NR_UID
  User ID of the session owner.
- NR_USERNAME
  Username of the session owner.


The following file descriptors are used:

- /dev/stdin
  The list of obsolete processes.
- /dev/stdout
  Closed.
- /dev/stderr
  Available in verbose mode (-v).