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

11 lines
279 B
Desktop File

[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 backup