diff --git a/README.md b/README.md index 2f55ffa..ee9b91a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Install webcam-streamer +# Prepare the system Make sure you have the Raspbian 12 `lsb_release -a` @@ -14,8 +14,26 @@ In your home directory clone the repo `cd ~` `git clone https://gitea.virtonline.eu/2HoursProject/webcam-streamer.git` -Go into the project directory -`cd webcam-streamer` +Go into the project directory +`cd webcam-streamer` + +Insert a formatted (vfat) drive into USB. +Install the `mnt-usb` systemd mount file +`sudo cp mnt-usb.mount /etc/systemd/system/` + +Reload systemd manager configuration +`sudo systemctl daemon-reload` + +Mount the USB drive +`sudo systemctl start mnt-usb.mount` + +See the status +`sudo systemctl status mnt-usb.mount` + +Enable the `/mnt/usb` to mount at boot time +`sudo systemctl enable mnt-usb.mount` + +# Install webcam-streamer Install the `webcam-service` systemd service file `sudo cp webcam-streamer.service /etc/systemd/system/`