comitting the systemctl services

This commit is contained in:
jenz
2026-09-28 23:31:15 +02:00
parent faee0f013e
commit 9caff6b5d4
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=R2 fastdl health check
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
# Must be the user whose rclone config contains the r2demo remote
User=gameservers
ExecStart=/usr/bin/python3 /home/gameservers/fastdl_sync/r2_healthcheck.py
+12
View File
@@ -0,0 +1,12 @@
[Unit]
Description=Run R2 fastdl health check weekly
[Timer]
OnCalendar=weekly
Persistent=true
RandomizedDelaySec=1h
[Install]
WantedBy=timers.target