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              overwrite debconf(7) frontend, sets the DEBIAN_FRONT environment
54              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
74When used with apt-get(8) needrestart supports the following additional  envi‐
75ronment variables:
76

DEBIAN_FRONT

78The debconf(7) frontend to use, can also set using the -f parameter.
79

NEEDRESTART_SUSPEND

81If set to a non-empty value the apt-get(8) hook will not run needrestart after
82installing or updating packages.
83

AUTHOR

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

UPSTREAM

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