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:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user