From c21bc8f034b198de95a9710b3ef81c9afcb3a5c3 Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 9 Dec 2020 09:47:13 +0100 Subject: auto updates: document systemd unit and timer Fixes: #8605 Signed-off-by: Valentin Rothberg --- docs/source/markdown/podman-auto-update.1.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/source/markdown/podman-auto-update.1.md b/docs/source/markdown/podman-auto-update.1.md index 76dc85180..219ac03b7 100644 --- a/docs/source/markdown/podman-auto-update.1.md +++ b/docs/source/markdown/podman-auto-update.1.md @@ -26,6 +26,12 @@ If an image ID was used, Podman would not know which image to check/pull anymore Moreover, the systemd units are expected to be generated with `podman-generate-systemd --new`, or similar units that create new containers in order to run the updated images. Systemd units that start and stop a container cannot run a new image. + +### Systemd Unit and Timer + +Podman ships with a `podman-auto-update.service` systemd unit. This unit is triggered daily at midnight by the `podman-auto-update.timer` systemd timer. The timer can be altered for custom time-based updates if desired. The unit can further be invoked by other systemd units (e.g., via the dependency tree) or manually via `systemctl start podman-auto-update.service`. + + ## OPTIONS #### **--authfile**=*path* -- cgit v1.2.3-54-g00ecf