fedora mjpeg->mjpg

This commit is contained in:
paukstelis
2022-03-29 12:31:29 -04:00
parent d7be29f922
commit 4906fa1215
2 changed files with 4 additions and 4 deletions

View File

@@ -17,8 +17,8 @@ YouTube video for OctoPi setup here: https://www.youtube.com/watch?v=J5VzI4AFav4
* If your printer does not have a serial number, it will time out and use the physical USB address for udev entries.
* Continue until you have added all the printers you want to use
* haproxy entries are updated so you can connect via http://octopi.local/instancename/
* Ubuntu/Mint (may work for other deb systems, not tested yet)
* Install Ubuntu 20-21.X or Mint 20.3+ on your system (make sure your user is admin for sudo)
* Ubuntu/Mint/Fedora (Fedora not completely tested)
* Install Ubuntu 20-21.X, Mint 20.3+, or Fedora35+ on your system (make sure your user is admin for sudo)
* Install git if it isn't already: `sudo apt install git`
* run the command `git clone https://github.com/paukstelis/octoprint_deploy.git`
* run the command `sudo octoprint_deploy/octoprint_deploy.sh`

View File

@@ -570,8 +570,8 @@ prepare () {
semanage fcontext -a -t bin_t "/home/$user/OctoPrint/bin/.*"
chcon -Rv -u system_u -t bin_t "/home/$user/OctoPrint/bin/"
restorecon -R -v /home/$user/OctoPrint/bin
semanage fcontext -a -t bin_t "/home/$user/mjpeg-streamer/.*"
chcon -Rv -u system_u -t bin_t "/home/$user/mjpeg-streamer/"
semanage fcontext -a -t bin_t "/home/$user/mjpg-streamer/.*"
chcon -Rv -u system_u -t bin_t "/home/$user/mjpg-streamer/"
restorecon -R -v /home/$user/mjpeg-streamer
fi
echo 'Starting generic service on port 5000'