comitting the systemctl services
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Run R2 fastdl health check weekly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
Persistent=true
|
||||
RandomizedDelaySec=1h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
|
||||
Reference in New Issue
Block a user