Files
felhom.eu/scripts/hub-db-backup/felhom-hub-db-restore-test.service
T

20 lines
690 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: restore-test the hub DB copy on 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-restore-test
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