File: needrestart.1

package info (click to toggle)
needrestart 3.4-5~bpo9+1
  • links: PTS
  • area: main
  • in suites: stretch-backports
  • size: 732 kB
  • sloc: perl: 3,027; sh: 231; makefile: 80
file content (89 lines) | stat: -rw-r--r-- 2,345 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.TH NEEDRESTART "1" "January 2015" "needrestart " "User Commands"
.SH NAME
needrestart \- needrestart
.SH DESCRIPTION
needrestart checks which daemons need to be restarted after library upgrades.
.SH USAGE
Usage:
.IP
needrestart [\-(v|q)] [\-n] [\-c <cfg>] [\-r <mode>] [\-f <fe>] [\-u <ui>] [\-(b|p)] [\-kl]
.TP
\fB\-v\fR
be more verbose
.TP
\fB\-q\fR
be quiet
.TP
\fB\-m\fR <mode>
set level of technical details
.TP
   e
(e)asy mode
.TP
   a
(a)dvanced mode
.TP
\fB\-n\fR
set default answer to 'no'
.TP
\fB\-c\fR <cfg>
config filename
.TP
\fB\-r\fR <mode>
set restart mode
.TP
   l
(l)ist only
.TP
   i
(i)nteractive restart
.TP
   a
(a)utomatically restart
.IP
\fBATTENTION:\fR If needrestart is configured to run in interactive mode but is run non-interactive (i.e. unattended-upgrades) it will fallback to list only mode.
.TP
\fB\-b\fR
enable batch mode
.TP
\fB\-p\fR
nagios plugin mode: makes output and exit codes nagios compatible
.TP
\fB\-f\fR <fe>
overwrite debconf(7) frontend, sets the DEBIAN_FRONTEND environment variable to <fe>
.TP
\fB\-u\fR <ui>
use preferred UI package (-u ? shows available packages)
.PP
By using one of the following options only the specified checks are performed:
.TP
\fB\-k\fR
check for obsolete kernel
.TP
\fB\-l\fR
check for obsolete libraries
.SH ENVIRONMENT
The following environment variables can be used to override the config file options. Command line parameters do always supersede them.
.TP
\fBNEEDRESTART_MODE\fR
Change the configured restart mode (see also the \fB\-r\fR parameter): (l)ist only, (i)nteractive or (a)utomatically
.RE

When used with apt-get(8) needrestart supports the following additional environment variables:
.TP
\fBDEBIAN_FRONT\fR
The debconf(7) frontend to use, can also set using the \fB\-f\fR parameter.
.TP
\fBNEEDRESTART_SUSPEND\fR
If set to a non-empty value the apt-get(8) hook will not run needrestart after installing or updating packages.
.SH "AUTHOR"
Thomas Liske <thomas@fiasko\-nw.net>
.SH "COPYRIGHT"
2013 - 2018 (C) Thomas Liske [http://fiasko\-nw.net/~thomas/]
.PP
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.SH "UPSTREAM"
https://github.com/liske/needrestart