Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/man.md
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-09-05 20:43:55 +0200
committerErich Eckner <git@eckner.net>2020-09-05 20:43:55 +0200
commit9bee9093962e8c61b6c9cefa525e9e55145c1241 (patch)
tree7e71ab9fd073e49f2d47b9847fe8f428ec79117e /man.md
parent15aae28e54c3fdfe2eb4fd4563cf095147e16fa2 (diff)
reflector-2020.8.19.tar.xz
Diffstat (limited to 'man.md')
-rw-r--r--man.md/reflector.1.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/man.md/reflector.1.md b/man.md/reflector.1.md
index d91434b..c468d4f 100644
--- a/man.md/reflector.1.md
+++ b/man.md/reflector.1.md
@@ -42,6 +42,18 @@ Select the HTTPS mirrors synchronized within the last 12 hours and located in e
reflector --country France,Germany --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
~~~
+
+# Systemd Integration
+
+Reflector includes systemd service and timer units that can be used to automatically update Pacman's mirrorlist. To use the timer, edit the configuration file at `/etc/xdg/reflector/reflector.conf` and then enable the timer with
+
+~~~{.sh}
+systemctl enable reflector.timer
+systemctl start reflector.timer
+~~~
+
+Check that status with `systemctl list-timers`. To update the mirrorlist immediately instead of waiting for the scheduled operation, run `systemctl start reflector.service`.
+
# See Also
`pacman(8)`