admin-scripts/pi0/systemd/system/mastodon-system-to-minio.service

14 lines
286 B
SYSTEMD
Raw Normal View History

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