Add Proxmox worker CT, off-box watch, backup, and tagged deploy.
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
NS1 is the Proxmox host. verae-proxmox creates LXC 510 (verae-px-worker 10.10.10.20 on vmbr1) with a private NATS proxy on 10.10.10.1:4222. verae-uptime GET-watches public doors; verae-backup snapshots SQLite and worm/tree data; verae-deploy does host-deps + checkout + npm ci. Fleet overlays/ns1 are checked in (start.sh no longer rewrites JSON). User systemd + linger for keep and fleet survive reboot.
This commit is contained in:
parent
2d51d7a0dd
commit
7a5e25639e
69 changed files with 1087 additions and 118 deletions
12
packages/verae-keep/scripts/install-systemd.sh
Executable file
12
packages/verae-keep/scripts/install-systemd.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
# User systemd for keep guard + linger so it survives reboot.
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
UNIT_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/systemd/user"
|
||||
mkdir -p "$UNIT_DIR"
|
||||
install -m 644 "$ROOT/systemd/verae-keep-guard.service" "$UNIT_DIR/verae-keep-guard.service"
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable verae-keep-guard.service
|
||||
loginctl enable-linger "$USER" || true
|
||||
echo "enabled verae-keep-guard (linger). start: systemctl --user start verae-keep-guard"
|
||||
echo "do not also run nohup guard.sh"
|
||||
Loading…
Add table
Add a link
Reference in a new issue