angristan / angristan/ansible-restic
add restart policy (systemd)
Đang mở
- 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á.