angristan / angristan/ansible-restic

add restart policy (systemd)

Đang mở
#21 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jinja
Star
76
Fork
26
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hello,

Currently, the restic-backup systemd service has Restart=no, which means it won't recover automatically in case of failure. This can cause backup jobs to silently fail without any self-recovery mechanism.

Proposal:

Update the Ansible role to include a systemd override that ensures the service is automatically restarted on failure, but with sensible limits to avoid crash loops.

Suggested systemd:

```
[Service]
Restart=on-failure
RestartSec=5s
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.