flybrain/infra/units/flystage-web.service
acamilo 660c3cf00d
Some checks failed
ci / node 22 (test + typecheck) (push) Has been cancelled
ci / rust stable (cargo test --workspace --release) (push) Has been cancelled
ci / infra/tests/lint.sh (push) Has been cancelled
ci / playwright apps/stage (allowed to fail) (push) Has been cancelled
flybrain v0.4.0: public tree (history retained privately)
2026-09-21 15:09:46 +00:00

24 lines
782 B
Desktop File

# infra/units/flystage-web.service — pushed to
# /etc/systemd/system/flystage-web.service.
#
# Infra task clarification (not in docs/design/infra.md, which had the sim
# itself serve the page): a tiny dependency-free static file server for
# apps/stage's build output, kept as its own unit so flystage's Chromium
# kiosk has something to load at http://127.0.0.1:7402/ that is
# independent of flysim's control/feed ports. See
# infra/config/serve.mjs and infra/config/serve.sh, deployed to
# /opt/fly/current/stage/ by 05-deploy.sh.
[Unit]
Description=flystage-web: static file server for the built stage page
After=network.target
[Service]
Type=simple
User=fly
ExecStart=/opt/fly/current/stage/serve.sh
Restart=always
RestartSec=2
MemoryMax=256M
[Install]
WantedBy=fly.target