[Unit] Description=MediaMTX RTSP Server for DroneScrewServer After=network.target [Service] Type=simple WorkingDirectory=/opt/dronescrewserver ExecStart=/opt/dronescrewserver/bin/mediamtx /opt/dronescrewserver/etc/mediamtx_dronescrew.yml Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.target