From fc22b3d6507c6745911b9dfcc68f1e665ae13dbc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:43:11 +0200 Subject: Adding upstream version 4.22.0. Signed-off-by: Daniel Baumann --- upstream/debian-unstable/man1/needs-restarting.1 | 93 ++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 upstream/debian-unstable/man1/needs-restarting.1 (limited to 'upstream/debian-unstable/man1/needs-restarting.1') diff --git a/upstream/debian-unstable/man1/needs-restarting.1 b/upstream/debian-unstable/man1/needs-restarting.1 new file mode 100644 index 00000000..557b5ab5 --- /dev/null +++ b/upstream/debian-unstable/man1/needs-restarting.1 @@ -0,0 +1,93 @@ +.\" Man page generated from reStructuredText. +. +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.TH "NEEDS-RESTARTING" "1" "Jan 22, 2023" "4.3.1" "dnf-plugins-core" +.SH NAME +needs-restarting \- redirecting to DNF needs-restarting Plugin +.sp +Check for running processes that should be restarted. +.SH SYNOPSIS +.sp +\fBdnf needs\-restarting [\-u] [\-r]\fP +.SH DESCRIPTION +.sp +\fIneeds\-restarting\fP looks through running processes and tries to detect those that use files from packages that have been updated after the given process started. Such processes are reported by this tool. +.sp +Note that in most cases a process should survive update of its binary and libraries it is using without requiring to be restarted for proper operation. There are however specific cases when this does not apply. Separately, processes often need to be restarted to reflect security updates. +.SH OPTIONS +.sp +All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details. +.sp +\fB\-u, \-\-useronly\fP +.INDENT 0.0 +.INDENT 3.5 +Only consider processes belonging to the running user. +.UNINDENT +.UNINDENT +.sp +\fB\-r, \-\-reboothint\fP +.INDENT 0.0 +.INDENT 3.5 +Only report whether a reboot is required (exit code 1) or not (exit code 0). +.UNINDENT +.UNINDENT +.INDENT 0.0 +.TP +.B \fB\-s, \-\-services\fP +Only list the affected systemd services. +.UNINDENT +.SH CONFIGURATION +.sp +\fB/etc/dnf/plugins/needs\-restarting.d/\fP +.sp +\fB/etc/dnf/plugins/needs\-restarting.d/pkgname.conf\fP +.sp +Packages can be added to \fBneeds\-restarting\fP via conf files in config +directory. Config files need to have \fB\&.conf\fP extension or will be ignored. +.sp +More than one package is allowed in each file (one package per line) although +it is advised to use one file for each package. +.sp +Example: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo \(dqdwm\(dq > /etc/dnf/plugins/needs\-restarting.d/dwm.conf +.ft P +.fi +.UNINDENT +.UNINDENT +.SH AUTHOR +See AUTHORS in your Core DNF Plugins distribution +.SH COPYRIGHT +2023, Red Hat, Licensed under GPLv2+ +.\" Generated by docutils manpage writer. +. -- cgit v1.2.3