ansible-edda/playbooks/backups/roles/restic/files/restic-batch.service

11 lines
272 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
ExecStart=/usr/local/sbin/restic-batch --config-dir /etc/restic-batch.d