2024-06-20 10:12:41 -05:00
|
|
|
[Unit]
|
|
|
|
Description=mastodon-system-to-minio
|
|
|
|
Wants=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2024-06-20 12:44:04 -05:00
|
|
|
User=mastodon
|
|
|
|
Group=mastodon
|
|
|
|
WorkingDirectory=/home/mastodon
|
2024-06-20 10:12:41 -05:00
|
|
|
ExecStart=rclone copy --progress --transfers=8 /home/mastodon/live/public/system/ minio:mastodata
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|