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

14 lines
324 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-07-23 00:37:19 +02:00
ExecStart=/usr/local/sbin/syncoid-batch --config-dir {{ system_etc_root_directory }}/syncoid-batch.d
2022-12-18 00:44:32 +01:00
[Install]
WantedBy=sanoid.service