diff --git a/debian/upgrade.sh b/debian/upgrade.sh index bacea2e..16235ee 100644 --- a/debian/upgrade.sh +++ b/debian/upgrade.sh @@ -36,4 +36,53 @@ apt -qq update && apt clean && systemctl --failed && apt -qq install needrestart -y && - needrestart -q -r a + needrestart -r a + + +################################################################################ +# needrestart --help + +# needrestart 3.6 - Restart daemons after library updates. + +# Authors: +# Thomas Liske + +# Copyright Holder: +# 2013 - 2022 (C) Thomas Liske [http://fiasko-nw.net/~thomas/] + +# Upstream: +# https://github.com/liske/needrestart + +# 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. + +# Usage: + +# needrestart [-vn] [-c ] [-r ] [-f ] [-u ] [-bkl] + +# -v be more verbose +# -q be quiet +# -m set detail level +# e (e)asy mode +# a (a)dvanced mode +# -n set default answer to 'no' +# -c config filename +# -r set restart mode +# l (l)ist only +# i (i)nteractive restart +# a (a)utomatically restart +# -b enable batch mode +# -p enable nagios plugin mode +# -f override debconf frontend (DEBIAN_FRONTEND, debconf(7)) +# -t tolerate interpreter process start times within this value +# -u use preferred UI package (-u ? shows available packages) + +# By using the following options only the specified checks are performed: +# -k check for obsolete kernel +# -l check for obsolete libraries +# -w check for obsolete CPU microcode + +# --help show this help +# --version show version information \ No newline at end of file