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.
7 lines
276 B
Bash
Executable File
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
|