simple r2 bucket uploader script that runs every 10 minutes, takes the bz2 files that are younger than 30 minutes and uploads them to the r2 bucket

This commit is contained in:
2025-02-05 20:36:10 +01:00
parent aab17ece7a
commit 6473e8e8af
4 changed files with 71 additions and 0 deletions
@@ -0,0 +1,9 @@
[Unit]
Description=Rclones to R2 bucket every 10 minutes
[Service]
Type=simple
User=gameservers
Group=gameservers
WorkingDirectory=/home/gameservers/fastdl_sync
ExecStart=/home/gameservers/fastdl_sync/r2_update.sh
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=rclones new content every 10 minutes
Requires=r2_bucket_rclone.service
[Timer]
OnCalendar=*-*-* *:0,10,20,30,40,50
[Install]
WantedBy=multi-user.target