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

14 lines
324 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 {{ system_etc_root_directory }}/syncoid-batch.d
[Install]
WantedBy=sanoid.service