1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/archwiki/templates/archwiki-question-updater.timer.j2
Christian Heusel 048167d6be
archwiki: Switch captcha to time-based method
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>
2024-03-06 23:33:01 +01:00

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