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

14 lines
297 B
SYSTEMD
Raw Normal View History

2022-12-18 00:44:32 +01:00
[Unit]
2022-12-18 17:06:27 +01:00
Description=Replicate snapshots using syncoid
2022-12-18 00:44:32 +01:00
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