mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-07-31 03:05:21 +00:00
- Update .gitignore with **/target/ for Rust build artifacts - Add eval receipts to UniversalBridge.lean (compile-time verification comments) - Add PCIe Idle-Cycle Compute Harvester to ROADMAP.md - Clean up deprecated scripts, generated Verilog, and old tools (23 deletions) - Stage new infrastructure: Xen/Alpine embedded surface, QFOX topology manager - Stage new probes: boundary activation field, holographic carving - Stage new applications: finance manager, script roots - Stage new research spec: PCIe idle-cycle substrate
30 lines
1.1 KiB
Text
Executable file
30 lines
1.1 KiB
Text
Executable file
#!/sbin/openrc-run
|
|
|
|
name="Research Stack minimal embedded surface"
|
|
description="Small HTTP/WebSocket control surface for Alpine/Xen guests"
|
|
supervisor=supervise-daemon
|
|
command="${command:-/usr/bin/python3}"
|
|
command_args="${command_args:-/opt/rs-surface/server.py}"
|
|
command_user="${command_user:-surface:surface}"
|
|
pidfile="${pidfile:-/run/rs-surface/rs-surface.pid}"
|
|
output_log="${output_log:-/var/log/rs-surface/stdout.log}"
|
|
error_log="${error_log:-/var/log/rs-surface/stderr.log}"
|
|
respawn_delay=2
|
|
respawn_max=5
|
|
|
|
export RS_SURFACE_PROFILE="${RS_SURFACE_PROFILE:-/etc/rs-surface/node.json}"
|
|
export RS_SURFACE_STATE="${RS_SURFACE_STATE:-/var/lib/rs-surface}"
|
|
export RS_SURFACE_MOUNT="${RS_SURFACE_MOUNT:-/mnt/topological-storage}"
|
|
export RS_SURFACE_PORT="${RS_SURFACE_PORT:-8080}"
|
|
|
|
depend() {
|
|
need localmount
|
|
after firewall net
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -d -m 0755 -o surface:surface /run/rs-surface
|
|
checkpath -d -m 0755 -o surface:surface /var/lib/rs-surface
|
|
checkpath -d -m 0755 -o surface:surface /var/log/rs-surface
|
|
checkpath -d -m 0755 -o surface:surface /mnt/topological-storage
|
|
}
|