Commit a3d5f651 authored by Evangelos Foutras's avatar Evangelos Foutras 🐱
Browse files

Merge branch 'borg-backup-avoid-auto-restart' into 'master'

borg_client: drop Restart=on-failure from services

See merge request archlinux/infrastructure!592
parents 9429815c 3f6b3ada
...@@ -3,7 +3,5 @@ Description=Borg backup (offsite) ...@@ -3,7 +3,5 @@ Description=Borg backup (offsite)
[Service] [Service]
Type=oneshot Type=oneshot
Restart=on-failure
RestartSec=5m
{% include 'borg-backup-cpu-quota.j2' %} {% include 'borg-backup-cpu-quota.j2' %}
ExecStart=/usr/local/bin/borg-backup-offsite.sh ExecStart=/usr/local/bin/borg-backup-offsite.sh
...@@ -6,7 +6,5 @@ Before=borg-backup-offsite.service ...@@ -6,7 +6,5 @@ Before=borg-backup-offsite.service
[Service] [Service]
Type=oneshot Type=oneshot
Restart=on-failure
RestartSec=5m
{% include 'borg-backup-cpu-quota.j2' %} {% include 'borg-backup-cpu-quota.j2' %}
ExecStart=/usr/local/bin/borg-backup.sh ExecStart=/usr/local/bin/borg-backup.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment