From ad8e9b6de8cccc09f19d105f3f4d63c6a3ffaab8 Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Mon, 26 Feb 2018 18:06:29 +0000 Subject: [PATCH] man: add example usage for automatic update policy The man page was a little weak on how to configure and enable the automatic update policy of `rpm-ostreed`. I've added an `EXAMPLE` section that shows the necessary steps to get this working. Closes: #1273 Approved by: jlebon --- man/rpm-ostreed.conf.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/man/rpm-ostreed.conf.xml b/man/rpm-ostreed.conf.xml index fd3e6e1a..968ec328 100644 --- a/man/rpm-ostreed.conf.xml +++ b/man/rpm-ostreed.conf.xml @@ -103,6 +103,26 @@ Boston, MA 02111-1307, USA. + + Example + + Enabling the automatic updates "check" policy is a two step process. + First, edit /etc/rpm-ostreed.conf to include + AutomaticUpdatePolicy=check and then use + rpm-ostree reload to reload the rpm-ostreed + service. Next, enable the timer using + systemctl enable rpm-ostreed-automatic.timer --now + + When successful, the output from rpm-ostree status will + display output similar to the following: + + + $ rpm-ostree status + State: idle; auto updates enabled (check; last run 22min ago) + ... + + + See Also