Files
challenge_status_tracker/ctf-status.service
T

13 lines
378 B
Desktop File

[Unit]
Description=Push the CTF challenge status to HedgeDoc and challs.txt
Documentation=file://__DIR__/README.md
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
WorkingDirectory=__DIR__
ExecStart=__DIR__/ctf_status.py --update --challs --quiet
# GitLab walk + HedgeDoc write; never let one run squat on the next timer slot
TimeoutStartSec=5min