Harden onion boot flow and deepen site surfaces

Add persistent onion key backup and restore, improve startup resilience, and flesh out the major site verticals with richer navigation, search coverage, and operator documentation.

Made-with: Cursor
This commit is contained in:
drjones
2026-04-07 21:35:52 -07:00
parent 52432dccfa
commit 78a071ba02
162 changed files with 21692 additions and 39 deletions

19
scripts/cyberlux.service Normal file
View File

@@ -0,0 +1,19 @@
[Unit]
Description=CyberLux Next.js (binds 127.0.0.1:3000 for nginx/Tor)
After=network-online.target tor.service nginx.service
Wants=network-online.target tor.service nginx.service
[Service]
Type=simple
# Use the account that owns the repo and ran ./start.sh (not root).
# This unit only starts Next.js; Tor/nginx are expected to be configured already.
User=REPLACE_ME
Group=REPLACE_ME
WorkingDirectory=/path/to/cyberlux
Environment=NODE_ENV=production
ExecStart=/usr/bin/npm run start:onion
Restart=on-failure
RestartSec=8
[Install]
WantedBy=multi-user.target