ansible-edda/playbooks/backups/roles/snapshots/files/syncoid-batch.service

14 lines
297 B
Desktop File

[Unit]
Description=Replicate snapshots using syncoid
Documentation=man:syncoid(8)
After=sanoid.service
Before=sanoid-prune.service
OnFailure=status-mail@%n.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/syncoid-batch --config-dir /etc/syncoid-batch.d
[Install]
WantedBy=sanoid.service