flybrain/infra/units/mediamtx.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

17 lines
458 B
Desktop File

# infra/units/mediamtx.service — pushed to /etc/systemd/system/mediamtx.service.
# docs/design/infra.md section 3 ("mediamtx.service local RTMP/HLS/WebRTC
# ingest") and section 4 (config/mediamtx.yml).
[Unit]
Description=MediaMTX local RTMP/HLS/WebRTC ingest for the fly demo
After=network.target
[Service]
Type=simple
User=fly
ExecStart=/usr/local/bin/mediamtx /etc/mediamtx.yml
Restart=always
RestartSec=2
MemoryMax=512M
[Install]
WantedBy=fly.target