mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-16 19:46:59 +00:00
add instructions about SELinux distributions (#3673)
This commit is contained in:
parent
823f6c60a0
commit
51e5f9ca26
@ -1708,6 +1708,13 @@ WantedBy=multi-user.target
|
|||||||
EOF
|
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:
|
Enable and start the service:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
Loading…
Reference in New Issue
Block a user