Go to file
2023-05-23 21:50:25 +02:00
www inital working version 2023-05-23 21:50:25 +02:00
.gitignore Initial commit 2023-05-23 19:41:57 +02:00
config.py inital working version 2023-05-23 21:50:25 +02:00
LICENSE Initial commit 2023-05-23 19:41:57 +02:00
msv_webcam_backend.py inital working version 2023-05-23 21:50:25 +02:00
msv-webcam-backend.service inital working version 2023-05-23 21:50:25 +02:00
README.md inital working version 2023-05-23 21:50:25 +02:00

msv-webcam-backend

useradd --system msvwebcambackend -m passwd -l msvwebcambackend

  • mkdir /opt/msv-webcam-backend/
  • cd /opt/msv-webcam-backend/
  • import msv_webcam_backend.py and config.py
  • Set the constants in config.py
  • chmod +x /opt/msv-webcam-backend/msv_webcam_backend.py
  • chown -R msvwebcambackend /opt/msv-webcam-backend/
  • nano /etc/systemd/system/msv-webcam-backend.service
  • systemctl daemon-reload && systemctl enable --now msv-webcam-backend.service

mkdir /var/www/html/msv-buehl-moos.de/webcam/

chown -R wwwrun:wwwrun /var/www/html/msv-buehl-moos.de/

location /webcam {
   root /var/www/html/msv-buehl-moos.de;
   index index.html;
}