diff --git a/README.md b/README.md index bc3d6f6b9c5..a0c3a469f33 100644 --- a/README.md +++ b/README.md @@ -1459,6 +1459,13 @@ WantedBy=multi-user.target EOF ``` +If SELinux is enabled (for instance in case of RedHat, Rocky, CentOS++), add correct security context: + +```sh +semanage fcontext -a -t bin_t /usr/local/bin/mediamtx +restorecon -Fv /usr/local/bin/mediamtx +``` + Enable and start the service: ```sh