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

14 lines
260 B
SYSTEMD
Raw Normal View History

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