Skip to content

Commit

Permalink
add instructions about SELinux distributions (#3673)
Browse files Browse the repository at this point in the history
  • Loading branch information
idarlund authored Oct 7, 2024
1 parent 823f6c6 commit 51e5f9c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51e5f9c

Please sign in to comment.