mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-30 18:39:10 +00:00 
			
		
		
		
	Update motioneye-install.sh
switched to dev branch for continued development
This commit is contained in:
		
							parent
							
								
									e7194c92fc
								
							
						
					
					
						commit
						2ca3e77bea
					
				| @ -17,6 +17,7 @@ msg_info "Installing Dependencies" | ||||
| $STD apt-get install -y curl | ||||
| $STD apt-get install -y sudo | ||||
| $STD apt-get install -y mc | ||||
| $STD apt-get install -y git | ||||
| $STD apt-get install -y cifs-utils | ||||
| msg_ok "Installed Dependencies" | ||||
| 
 | ||||
| @ -30,27 +31,23 @@ msg_info "Installing FFmpeg" | ||||
| $STD apt-get install -y ffmpeg v4l-utils | ||||
| msg_ok "Installed FFmpeg" | ||||
| 
 | ||||
| msg_info "Installing Python" | ||||
| $STD apt-get update | ||||
| $STD apt-get install -y python2 | ||||
| curl -sSL https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py | ||||
| $STD python2 get-pip.py | ||||
| $STD apt-get install -y libffi-dev libzbar-dev libzbar0 | ||||
| $STD apt-get install -y python2-dev libssl-dev libcurl4-openssl-dev libjpeg-dev | ||||
| msg_ok "Installed Python" | ||||
| msg_info "Installing Python3-pip" | ||||
| $STD apt-get install -y python3-pip | ||||
| msg_ok "Installed Python3-pip" | ||||
| 
 | ||||
| msg_info "Installing MotionEye" | ||||
| $STD apt-get update | ||||
| $STD pip install motioneye | ||||
| $STD pip install git+https://github.com/motioneye-project/motioneye.git@dev | ||||
| mkdir -p /etc/motioneye | ||||
| cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf | ||||
| chown -R root:root /etc/motioneye | ||||
| chmod -R 777 /etc/motioneye | ||||
| cp /usr/local/lib/python3.9/dist-packages/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf | ||||
| mkdir -p /var/lib/motioneye | ||||
| msg_ok "Installed MotionEye" | ||||
| 
 | ||||
| msg_info "Creating Service" | ||||
| cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service | ||||
| $STD systemctl enable motioneye | ||||
| systemctl start motioneye | ||||
| cp /usr/local/lib/python3.9/dist-packages/motioneye/extra/motioneye.systemd /etc/systemd/system/motioneye.service | ||||
| systemctl enable -q --now motioneye | ||||
| msg_ok "Created Service" | ||||
| 
 | ||||
| motd_ssh | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user