instructions for mount

This commit is contained in:
cpu
2024-02-20 16:29:14 +01:00
parent 8901967f8f
commit d901f1acb6

View File

@@ -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/`