auto updates: document systemd unit and timer

Fixes: #8605
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2020-12-09 09:47:13 +01:00
parent dd295f297b
commit c21bc8f034
1 changed files with 6 additions and 0 deletions

View File

@ -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*