1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/borg_client/templates/borg-backup-offsite.service.j2
Evangelos Foutras 3f6b3ada5d
borg_client: drop Restart=on-failure from services
When a backup job fails it is usually something we want to look into and
understand its root cause before restarting the backup job. Therefore we
need to disable the restart-on-failure behavior we had previously set up.
2022-06-22 05:14:16 +03:00

8 lines
154 B
Django/Jinja

[Unit]
Description=Borg backup (offsite)
[Service]
Type=oneshot
{% include 'borg-backup-cpu-quota.j2' %}
ExecStart=/usr/local/bin/borg-backup-offsite.sh