1NEEDRESTART(1)                   User Commands                  NEEDRESTART(1)
2
3
4

NAME

6       needrestart - needrestart
7

DESCRIPTION

9       needrestart checks which daemons need to be restarted after library up‐
10       grades.
11

USAGE

13       Usage:
14
15              needrestart [-(v|q)] [-n] [-c <cfg>] [-r <mode>] [-f  <fe>]  [-u
16              <ui>] [-(b|p)] [-kl]
17
18       -v     be more verbose
19
20       -q     be quiet
21
22       -m <mode>
23              set level of technical details
24
25          e   (e)asy mode
26
27          a   (a)dvanced mode
28
29       -n     set default answer to 'no'
30
31       -c <cfg>
32              config filename
33
34       -r <mode>
35              set restart mode
36
37          l   (l)ist only
38
39          i   (i)nteractive restart
40
41          a   (a)utomatically restart
42
43              ATTENTION:  If  needrestart  is configured to run in interactive
44              mode but is run non-interactive  (i.e.  unattended-upgrades)  it
45              will fallback to list only mode.
46
47       -b     enable batch mode
48
49       -p     nagios  plugin mode: makes output and exit codes nagios compati‐
50              ble
51
52       -f <fe>
53              override debconf(7) frontend, sets the DEBIAN_FRONTEND  environ‐
54              ment variable to <fe>
55
56       -t <seconds>
57              When checking running interpreter processes, allow process start
58              times that are close to  timestamps  of  files  the  interpreter
59              uses,  within this tolerance (default 2). The default value of 2
60              seconds is best for checks of Linux hosts, on which system limi‐
61              tations  prevent  more  accurate  measurements  of process start
62              times. Values higher than 0 should prevent false  positives  yet
63              may in extreme cases cause false negatives; values higher than 2
64              should not be necessary.
65
66       -u <ui>
67              use preferred UI package (-u ? shows available packages)
68
69       By using one of the following options only  the  specified  checks  are
70       performed:
71
72       -k     check for obsolete kernel
73
74       -l     check for obsolete libraries
75

ENVIRONMENT

77       The  following environment variables can be used to override the config
78       file options. Command line parameters do always supersede them.
79
80       NEEDRESTART_MODE
81              Change the configured restart mode (see also the -r  parameter):
82              (l)ist only, (i)nteractive or (a)utomatically
83
84       When used with apt-get(8) needrestart supports the following additional
85       environment variables:
86
87       DEBIAN_FRONTEND
88              The debconf(7) frontend to use, can also set using the -f param‐
89              eter.
90
91       NEEDRESTART_SUSPEND
92              If  set  to  a  non-empty value the apt-get(8) hook will not run
93              needrestart after installing or updating packages.
94

AUTHOR

96       Thomas Liske <thomas@fiasko-nw.net>
97
99       2013 - 2022 (C) Thomas Liske [http://fiasko-nw.net/~thomas/]
100
101       This program is free software; you can redistribute it and/or modify it
102       under  the  terms of the GNU General Public License as published by the
103       Free Software Foundation; either version 2 of the License, or (at  your
104       option) any later version.
105

UPSTREAM

107       https://github.com/liske/needrestart
108
109
110
111needrestart                      January 2015                   NEEDRESTART(1)
Impressum