admin-scripts/pi0/systemd/system/mastodon-system-to-minio.service
2024-06-20 12:44:04 -05:00

14 lines
286 B
Desktop File

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