@ -277,27 +277,31 @@ WARNING: RTSP is a plain protocol, and the credentials can be intercepted and re
@@ -277,27 +277,31 @@ WARNING: RTSP is a plain protocol, and the credentials can be intercepted and re
Systemd is the service manager used by Ubuntu, Debian and many other Linux distributions, and allows to launch rtsp-simple-server on boot.
Download a release bundle from the [release page](https://github.com/aler9/rtsp-simple-server/releases), and put:
Download a release bundle from the [release page](https://github.com/aler9/rtsp-simple-server/releases), unzip it, and move the executable and configuration in the system:
* `rtsp-simple-server` in `/usr/local/bin`
* `rtsp-simple-server.yml` in `/usr/local/etc`
```
sudo mv rtsp-simple-server /usr/local/bin/
sudo mv rtsp-simple-server.yml /usr/local/etc/
```
Create a file `/etc/systemd/system/rtsp-simple-server.service` with the following content:
Create the service:
```
sudo tee /etc/systemd/system/rtsp-simple-server.service >/dev/null <<EOF
@ -373,7 +377,7 @@ Install Go ≥ 1.15, download the repository, open a terminal in it and run:
@@ -373,7 +377,7 @@ Install Go ≥ 1.15, download the repository, open a terminal in it and run:
go run .
```
You can perform the entire operation inside Docker with:
You can perform the entire operation inside Docker: