mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Up until now the captcha has depended on the exact output of the pacman version command which could lead to multiple problematic scenarios: a) User uses testing repos (user pacman newer) b) Server is not instantly updated (user pacman newer) c) User system is not updated (user pacman older) Circumvent this problem by switching to a time based captcha instead. Signed-off-by: Christian Heusel <christian@heusel.eu>
10 lines
157 B
Django/Jinja
10 lines
157 B
Django/Jinja
[Unit]
|
|
Description=Monthly Timer to update the Archwiki pacman question
|
|
|
|
[Timer]
|
|
OnCalendar=*-*-1 00:00:00
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|