* bug#44986: [PATCH] doc: Give references and examples for services-to-restart.
@ 2020-12-01 9:14 Simon Josefsson via Bug reports for GNU Guix
2020-12-03 16:48 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Simon Josefsson via Bug reports for GNU Guix @ 2020-12-01 9:14 UTC (permalink / raw)
To: 44986
[-- Attachment #1.1: Type: text/plain, Size: 195 bytes --]
Hi! I started using unattended-upgrades, and was confused which service
names (config.scm vs herd) to use. I think this small documentation
patch would help others. What do you think?
/Simon
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-doc-Give-references-and-examples-for-services-to-res.patch --]
[-- Type: text/x-diff, Size: 1064 bytes --]
From c414dd60652ecdd124b189b2c46ce30ae9db986d Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Tue, 1 Dec 2020 10:10:17 +0100
Subject: [PATCH] doc: Give references and examples for services-to-restart.
* doc/guix.texi (Unattended Upgrades): Give references and examples
for services-to-restart.
---
doc/guix.texi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 889f380108..02d3077983 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -17175,6 +17175,10 @@ only restarts services that are not currently running, which is
conservative: it minimizes disruption but leaves outdated services
running.
+Use @command{herd status} to find out candidates for restarting.
+@xref{Services}, for general information about services. Common
+services to restart would include @code{ntpd} and @code{ssh-daemon}.
+
By default, the @code{mcron} service is restarted. This ensures that
the latest version of the unattended upgrade job will be used next time.
--
2.20.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#44986: [PATCH] doc: Give references and examples for services-to-restart.
2020-12-01 9:14 bug#44986: [PATCH] doc: Give references and examples for services-to-restart Simon Josefsson via Bug reports for GNU Guix
@ 2020-12-03 16:48 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-12-03 16:48 UTC (permalink / raw)
To: Simon Josefsson; +Cc: 44986-done
Hi Simon,
Simon Josefsson <simon@josefsson.org> skribis:
> Hi! I started using unattended-upgrades, and was confused which service
> names (config.scm vs herd) to use. I think this small documentation
> patch would help others. What do you think?
Sounds like a good idea.
> From c414dd60652ecdd124b189b2c46ce30ae9db986d Mon Sep 17 00:00:00 2001
> From: Simon Josefsson <simon@josefsson.org>
> Date: Tue, 1 Dec 2020 10:10:17 +0100
> Subject: [PATCH] doc: Give references and examples for services-to-restart.
>
> * doc/guix.texi (Unattended Upgrades): Give references and examples
> for services-to-restart.
> ---
> doc/guix.texi | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 889f380108..02d3077983 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -17175,6 +17175,10 @@ only restarts services that are not currently running, which is
> conservative: it minimizes disruption but leaves outdated services
> running.
>
> +Use @command{herd status} to find out candidates for restarting.
> +@xref{Services}, for general information about services. Common
> +services to restart would include @code{ntpd} and @code{ssh-daemon}.
Applied, thanks!
Another option is to look at the ‘shepherdnames’ field in ‘guix system
search’. Not sure if it’s worth mentioning here.
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-03 16:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01 9:14 bug#44986: [PATCH] doc: Give references and examples for services-to-restart Simon Josefsson via Bug reports for GNU Guix
2020-12-03 16:48 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).