mirror of
https://github.com/42wim/matterbridge.git
synced 2025-07-05 21:17:31 +02:00
Small changes
parent
bb0a4cbc28
commit
4664b0d43c
@ -8,22 +8,22 @@ After you have setup your droplet using eg ubuntu 18.04 TLS (https://www.digital
|
|||||||
|
|
||||||
## Create a matterbridge user
|
## Create a matterbridge user
|
||||||
|
|
||||||
``bash
|
```bash
|
||||||
$ sudo adduser --system --no-create-home --group matterbridge
|
$ sudo adduser --system --no-create-home --group matterbridge
|
||||||
Adding system user `matterbridge' (UID 111) ...
|
Adding system user `matterbridge' (UID 111) ...
|
||||||
Adding new group `matterbridge' (GID 115) ...
|
Adding new group `matterbridge' (GID 115) ...
|
||||||
Adding new user `matterbridge' (UID 111) with group `matterbridge' ...
|
Adding new user `matterbridge' (UID 111) with group `matterbridge' ...
|
||||||
Not creating home directory `/home/matterbridge'.
|
Not creating home directory `/home/matterbridge'.
|
||||||
``
|
```
|
||||||
|
|
||||||
## Matterbridge install
|
## Matterbridge install
|
||||||
|
|
||||||
You can install the matterbridge binary in /usr/bin/matterbridge
|
You can install the matterbridge binary in /usr/bin/matterbridge
|
||||||
|
|
||||||
``bash
|
```bash
|
||||||
$ sudo wget https://github.com/42wim/matterbridge/releases/download/v1.16.5/matterbridge-1.16.5-linux-64bit -O /usr/bin/matterbridge
|
$ sudo wget https://github.com/42wim/matterbridge/releases/download/v1.16.5/matterbridge-1.16.5-linux-64bit -O /usr/bin/matterbridge
|
||||||
$ sudo chmod 755 /usr/bin/matterbridge
|
$ sudo chmod 755 /usr/bin/matterbridge
|
||||||
``
|
```
|
||||||
|
|
||||||
## Matterbridge configuration
|
## Matterbridge configuration
|
||||||
|
|
||||||
@ -31,16 +31,16 @@ Now follow these [steps](https://github.com/42wim/matterbridge/wiki/How-to-creat
|
|||||||
|
|
||||||
Save that file to /etc/matterbridge/matterbridge.toml
|
Save that file to /etc/matterbridge/matterbridge.toml
|
||||||
|
|
||||||
``bash
|
```bash
|
||||||
$ sudo mkdir /etc/matterbridge
|
$ sudo mkdir /etc/matterbridge
|
||||||
$ sudo cp matterbridge.toml /etc/matterbridge/matterbridge.toml
|
$ sudo cp matterbridge.toml /etc/matterbridge/matterbridge.toml
|
||||||
``
|
```
|
||||||
|
|
||||||
Before going to the next step, check if your config is correct by running manually
|
Before going to the next step, check if your config is correct by running manually
|
||||||
|
|
||||||
``bash
|
```bash
|
||||||
$ /usr/bin/matterbridge -conf /etc/matterbridge/matterbridge.toml
|
$ /usr/bin/matterbridge -conf /etc/matterbridge/matterbridge.toml
|
||||||
``
|
```
|
||||||
|
|
||||||
If everything looks fine you can set it up as a systemd service
|
If everything looks fine you can set it up as a systemd service
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ If everything looks fine you can set it up as a systemd service
|
|||||||
|
|
||||||
Next up is creating a `matterbridge.service`
|
Next up is creating a `matterbridge.service`
|
||||||
|
|
||||||
``
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=matterbridge
|
Description=matterbridge
|
||||||
After=network.target
|
After=network.target
|
||||||
@ -60,16 +60,16 @@ Group=matterbridge
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
``
|
```
|
||||||
|
|
||||||
Save the above config as `/etc/systemd/system/matterbridge.service`
|
Save the above config as `/etc/systemd/system/matterbridge.service`
|
||||||
|
|
||||||
Now enable and run it
|
Now enable and run it
|
||||||
|
|
||||||
``bash
|
```bash
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable matterbridge
|
sudo systemctl enable matterbridge
|
||||||
sudo systemctl run matterbridge
|
sudo systemctl run matterbridge
|
||||||
``
|
```
|
||||||
|
|
||||||
You should now have the service running.
|
You should now have the service running.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user