mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-30 06:51:59 -08:00
add instructions about SELinux distributions (#3673)
This commit is contained in:
parent
823f6c60a0
commit
51e5f9ca26
1 changed files with 7 additions and 0 deletions
|
|
@ -1708,6 +1708,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue