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

14 lines
295 B
SYSTEMD
Raw Normal View History

2022-12-18 00:44:32 +01:00
[Unit]
Description=Replicate volume data snapshots
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