aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-07-27 23:07:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2023-07-27 23:07:51 +0200
commit5c7096fc4abe8d513157ea552d6b807e2b0084b7 (patch)
treeebc4ad254cea1e3ba17811861833e3df798fe07e /README.md
parent76b15dac72c72c81d5f632a93a20ebad5082322a (diff)
downloadpacman-offline-5c7096fc4abe8d513157ea552d6b807e2b0084b7.tar.gz
pacman-offline-5c7096fc4abe8d513157ea552d6b807e2b0084b7.tar.zst
README: document the timers
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
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
-------------