[Unit]
Description=Harvest all OAI endpoints continuously

[Service]
ExecStart=/bin/bash -c 'metha-sync -list | shuf | parallel -j 64 -I {} "metha-sync -base-dir $HOME/.cache/metha {}"'
User=tir
Group=tir
RuntimeMaxSec=300s
Restart=always

[Install]
WantedBy=multi-user.target