put mediamtx user in video group

This commit is contained in:
legop3
2025-11-10 16:09:11 -05:00
parent 114a87ce60
commit e472b0b2ac
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -173,8 +173,8 @@ if [[ $INSTALL_MEDIAMTX -eq 1 ]]; then
exit 1
fi
ensure_user mediamtx ""
install_mediamtx_binary
ensure_user mediamtx "video"
install_mediamtx_binary
install -d -o mediamtx -g mediamtx /etc/mediamtx
install -o mediamtx -g mediamtx -m 0644 pi/mediamtx/mediamtx.yml /etc/mediamtx/mediamtx.yml
install -m 0644 pi/systemd/mediamtx.service /etc/systemd/system/mediamtx.service