diff options
author | Richard Sent <richard@freakingpenguin.com> | 2024-04-29 00:34:20 -0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-16 00:16:21 +0200 |
commit | 85556e1dab5040e9f570fd2606fef563bf0bbb83 (patch) | |
tree | 889c9e4f7dc7c931a4ef9e3ed3e27090e5b09fd6 /doc/guix.texi | |
parent | 2fcca2dafbfcf8d300177a755e6d42b55d78e50d (diff) | |
download | guix-85556e1dab5040e9f570fd2606fef563bf0bbb83.tar guix-85556e1dab5040e9f570fd2606fef563bf0bbb83.tar.gz |
services: admin: Support rebooting after an unattended upgrade
* gnu/services/admin.scm (unattended-upgrade-configuration): Add reboot?
field. When truthy, unattended upgrade will stop the shepherd root service,
triggering a reboot.
* doc/guix.texi (Unattended Upgrades): Document it.
Change-Id: I0af659b3c318421b1a7baa94dde3dadacc1fa10d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index bdaefe3802..bc4d306c2d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -23088,6 +23088,10 @@ system to use for the upgrade. If no value is provided the #~(@@ (guix system install) installation-os))) @end lisp +@item @code{reboot?} (default: @code{#f}) +This field specifies whether the system should reboot after completing +an unattended upgrade. + @item @code{services-to-restart} (default: @code{'(mcron)}) This field specifies the Shepherd services to restart when the upgrade completes. |