feat: automate production maintenance

This commit is contained in:
ik committed 2026-09-07 07:44:11 +07:00
1 parent 6e60988ac9
commit 2fa6b68279
9 files changed
+84 -3

No files matched your search

@@ -0,0 +1,13 @@
[Unit]
Description=RF4 Spotter backup and retention maintenance
After=docker.service network-online.target
Requires=docker.service
[Service]
Type=oneshot
User=rf4spotter
WorkingDirectory=/opt/rf4-spotter
ExecStart=/opt/rf4-spotter/deploy/maintenance.sh
# Backups can take longer on a growing database and object store.
TimeoutStartSec=2h