From 9bee9093962e8c61b6c9cefa525e9e55145c1241 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 5 Sep 2020 20:43:55 +0200 Subject: reflector-2020.8.19.tar.xz --- man.md/reflector.1.md | 12 ++++++++++++ man/reflector.1.gz | Bin 667 -> 892 bytes setup.py | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) 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)` diff --git a/man/reflector.1.gz b/man/reflector.1.gz index d44062d..82b020b 100644 Binary files a/man/reflector.1.gz and b/man/reflector.1.gz differ diff --git a/setup.py b/setup.py index f54b6ed..4b9b6c2 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ import time setup( name='''Reflector''', - version=time.strftime('%Y.%m.%d.%H.%M.%S', time.gmtime(1597879351)), + version=time.strftime('%Y.%m.%d.%H.%M.%S', time.gmtime(1597881128)), description='''A Python 3 module and script to retrieve and filter the latest Pacman mirror list.''', author='''Xyne''', author_email='''ac xunilhcra enyx, backwards''', -- cgit v1.2.3-54-g00ecf