Files
ShellBook/deploy/update.sh
T
Florian Schmidt 1f385b6538 feat(deploy): provision Debian 13 Proxmox containers (#6)
Add architecture-filtered template selection, safe CT reuse, TUN passthrough, a service-user installer, updates, and a Traefik example. Verify official Node 22 binaries with SHA-256 checksums and document deployment and credential setup.

Cover mixed amd64/arm64 template selection with five bash regression checks.
2026-11-16 00:07:23 +01:00

7 lines
276 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
[[ $EUID == 0 ]] || { echo 'Run as root' >&2; exit 1; }
runuser -u shellbook -- bash -c 'cd /opt/shellbook; git pull --ff-only; pnpm install --frozen-lockfile; pnpm build'
systemctl restart shellbook
systemctl --no-pager status shellbook