mirror of
https://github.com/42wim/matterbridge.git
synced 2025-04-22 07:37:51 +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
|
||||
|
||||
``bash
|
||||
```bash
|
||||
$ sudo adduser --system --no-create-home --group matterbridge
|
||||
Adding system user `matterbridge' (UID 111) ...
|
||||
Adding new group `matterbridge' (GID 115) ...
|
||||
Adding new user `matterbridge' (UID 111) with group `matterbridge' ...
|
||||
Not creating home directory `/home/matterbridge'.
|
||||
``
|
||||
```
|
||||
|
||||
## Matterbridge install
|
||||
|
||||
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 chmod 755 /usr/bin/matterbridge
|
||||
``
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
``bash
|
||||
```bash
|
||||
$ sudo mkdir /etc/matterbridge
|
||||
$ sudo cp matterbridge.toml /etc/matterbridge/matterbridge.toml
|
||||
``
|
||||
```
|
||||
|
||||
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
|
||||
``
|
||||
```
|
||||
|
||||
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`
|
||||
|
||||
``
|
||||
```
|
||||
[Unit]
|
||||
Description=matterbridge
|
||||
After=network.target
|
||||
@ -60,16 +60,16 @@ Group=matterbridge
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
``
|
||||
```
|
||||
|
||||
Save the above config as `/etc/systemd/system/matterbridge.service`
|
||||
|
||||
Now enable and run it
|
||||
|
||||
``bash
|
||||
```bash
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable matterbridge
|
||||
sudo systemctl run matterbridge
|
||||
``
|
||||
```
|
||||
|
||||
You should now have the service running.
|
||||
|
Loading…
x
Reference in New Issue
Block a user