add chall tracker to deployment

This commit is contained in:
2026-10-20 16:57:06 +02:00
parent e8a04fe415
commit e5862e8229
5 changed files with 115 additions and 10 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
[Unit]
Description=Push the CTF challenge status to HedgeDoc
Description=Push the CTF challenge status to HedgeDoc and challs.txt
Documentation=file://__DIR__/README.md
After=network-online.target
Wants=network-online.target
@@ -7,6 +7,6 @@ Wants=network-online.target
[Service]
Type=oneshot
WorkingDirectory=__DIR__
ExecStart=__DIR__/ctf_status.py --update --quiet
ExecStart=__DIR__/ctf_status.py --update --challs --quiet
# GitLab walk + HedgeDoc write; never let one run squat on the next timer slot
TimeoutStartSec=5min