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

14 lines
331 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
2023-09-30 23:43:27 +02:00
ExecStart=/usr/local/sbin/syncoid-batch --config-dir {{ system_etc_root_directory }}/syncoid-batch.d backup
2022-12-18 00:44:32 +01:00
[Install]
WantedBy=sanoid.service