refactor(hosts): organize repository by server profiles (hosts/raspberrypi5, hosts/llm-node) and add host-aware installer
This commit is contained in:
1 parent
c53fc0a939
commit
c2740c9542
44 files changed
+528
-40
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
if systemctl is-active --quiet raspiBackup.service; then
|
||||
echo "FEHLER: raspiBackup läuft noch"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BACKUP_ORCHESTRATOR_CUTOVER_APPROVED=YES \
|
||||
/usr/local/sbin/backup-orchestrator --run
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Daily database and NAS backup orchestrator
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/sbin/backup-orchestrator-daily
|
||||
TimeoutStartSec=0
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily backup orchestrator at 05:30
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 05:30:00
|
||||
Persistent=true
|
||||
Unit=backup-orchestrator-daily.service
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in new issue
Block a user