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,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
|
||||
export BACKUP_ORCHESTRATOR_CUTOVER_APPROVED=YES
|
||||
exec /usr/local/sbin/backup-orchestrator --run
|
||||
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Backup Orchestrator daily run on llm-node
|
||||
After=network-online.target docker.service mnt-nas_backup.mount
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/sbin/backup-orchestrator-daily
|
||||
User=root
|
||||
Group=root
|
||||
TimeoutStartSec=14400
|
||||
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily timer for Backup Orchestrator on llm-node
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 05:00:00
|
||||
Persistent=true
|
||||
RandomizedDelaySec=60
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in new issue
Block a user