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
10       upgrades.
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       -u <ui>
57              use preferred UI package (-u ? shows available packages)
58
59       By  using  one  of  the following options only the specified checks are
60       performed:
61
62       -k     check for obsolete kernel
63
64       -l     check for obsolete libraries
65

ENVIRONMENT

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

AUTHOR

86       Thomas Liske <thomas@fiasko-nw.net>
87
89       2013 - 2020 (C) Thomas Liske [http://fiasko-nw.net/~thomas/]
90
91       This program is free software; you can redistribute it and/or modify it
92       under the terms of the GNU General Public License as published  by  the
93       Free  Software Foundation; either version 2 of the License, or (at your
94       option) any later version.
95

UPSTREAM

97       https://github.com/liske/needrestart
98
99
100
101needrestart                      January 2015                   NEEDRESTART(1)
Impressum