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

11 lines
306 B
SYSTEMD
Raw Normal View History

2022-12-18 17:06:27 +01:00
[Unit]
Description=Backup snapshots using restic
Documentation=man:restic(8)
OnFailure=status-mail@%n.service
[Service]
Type=oneshot
Environment=TZ=UTC
Environment=RESTIC_CACHE_DIR=/var/cache/restic
2023-07-23 00:37:19 +02:00
ExecStart=/usr/local/sbin/restic-batch --config-dir {{ system_etc_root_directory }}/restic-batch.d backup