Sistema completo para monitoreo y gestion de flotas de vehiculos con: - Backend FastAPI con PostgreSQL/TimescaleDB - Frontend React con TypeScript y TailwindCSS - App movil React Native con Expo - Soporte para dispositivos GPS, Meshtastic y celulares - Video streaming en vivo con MediaMTX - Geocercas, alertas, viajes y reportes - Autenticacion JWT y WebSockets en tiempo real Documentacion completa y guias de usuario incluidas.
42 lines
731 B
Desktop File
42 lines
731 B
Desktop File
[Unit]
|
|
Description=MediaMTX - Real-Time Media Server
|
|
Documentation=https://github.com/bluenviron/mediamtx
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=exec
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/mediamtx
|
|
|
|
# Comando de inicio
|
|
ExecStart=/opt/mediamtx/mediamtx /opt/mediamtx/mediamtx.yml
|
|
|
|
# Reinicio automatico
|
|
Restart=always
|
|
RestartSec=5
|
|
|
|
# Timeouts
|
|
TimeoutStartSec=30
|
|
TimeoutStopSec=30
|
|
|
|
# Limites de recursos
|
|
LimitNOFILE=65535
|
|
LimitNPROC=4096
|
|
|
|
# Ajustes de red para streaming
|
|
# Permitir puertos privilegiados si es necesario
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
# Seguridad
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=mediamtx
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|