cea8502f0b
gates / gates (push) Successful in 32s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
20 lines
680 B
Desktop File
20 lines
680 B
Desktop File
# Versioned in felhom.eu/scripts/hub-db-backup/ (R-231); installed by install.sh. Runbook: RUNBOOK-hub-db-offsite-backup.md.
|
|
[Unit]
|
|
Description=Felhom: push the hub DB snapshot to ep0 (R-173)
|
|
Wants=network-online.target felhom-ep0-pbs-tunnel.service
|
|
After=network-online.target felhom-ep0-pbs-tunnel.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/local/sbin/felhom-hub-db-backup
|
|
Environment=HOME=/var/lib/felhom-hub-backup KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
|
UMask=0077
|
|
TimeoutStartSec=45min
|
|
Nice=10
|
|
IOSchedulingClass=idle
|
|
PrivateTmp=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
ReadWritePaths=/var/lib/felhom-hub-backup /var/lib/node_exporter/textfile_collector
|
|
NoNewPrivileges=yes
|