From 5c7096fc4abe8d513157ea552d6b807e2b0084b7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 27 Jul 2023 23:07:51 +0200 Subject: README: document the timers --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 05cac68..eabc6f5 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,24 @@ It accepts some arguments: * *-t*: start timer for nightly reboot * *-y*: update sync databases +### Timer for preparation + +You can enable a timer to prepare the offline update automatically. + + systemctl enable pacman-offline-prepare.timer + +This will trigger several minutes after boot, then ever day. The databases +are synced, then packages are downloaded. The updates are installed when +ever the system reboots. + +### Timer for nightly reboot + +You can enable a timer for nightly reboot: + + systemctl enable pacman-offline-reboot.timer + +This will trigger at night, if updates are pending and prepared. + Configuration ------------- -- cgit v1.2.3-54-g00ecf