summaryrefslogtreecommitdiff
path: root/DEPLOY.md
diff options
context:
space:
mode:
authorMarcel <mtrnord1@gmail.com>2021-04-06 13:17:39 +0000
committerMarcel <mtrnord1@gmail.com>2021-04-06 13:17:39 +0000
commitc267c0f09e8733e29efbc6bd0611a85826aae720 (patch)
tree53629e714109a8f916624ebb93060d40a7816032 /DEPLOY.md
parent9b2f8730bb7123a29c09e87cc60b681b1b8ec3c1 (diff)
downloadconduit-c267c0f09e8733e29efbc6bd0611a85826aae720.zip
fix: use full codeblocks and capitalize Conduit and Debian
Diffstat (limited to 'DEPLOY.md')
-rw-r--r--DEPLOY.md24
1 files changed, 16 insertions, 8 deletions
diff --git a/DEPLOY.md b/DEPLOY.md
index 0faa277..f801e29 100644
--- a/DEPLOY.md
+++ b/DEPLOY.md
@@ -18,14 +18,16 @@ $ sudo wget -O /usr/local/bin/matrix-conduit <url>
$ sudo chmod +x /usr/local/bin/matrix-conduit
```
-## Adding a conduit user
+## Adding a Conduit user
While conduit can run as any user it is usually better to use dedicated users for different services.
This also allows you to make sure that the file permissions are correctly set up.
-In debian you can use this command to create a conduit user:
+In Debian you can use this command to create a Conduit user:
-`sudo adduser --system conduit --no-create-home`
+```
+sudo adduser --system conduit --no-create-home
+```
## Setting up a systemd service
@@ -101,14 +103,20 @@ address = "127.0.0.1" # This makes sure Conduit can only be reached using the re
## Setting the correct file permissions
-As we are using a conduit specific user we need to allow it to read the config.
-To do that you can run this command on debian:
+As we are using a Conduit specific user we need to allow it to read the config.
+To do that you can run this command on Debian:
-`sudo chown -R conduit:nogroup /etc/matrix-conduit`
+```
+sudo chown -R conduit:nogroup /etc/matrix-conduit
+```
-If you use the default database path you also need to run this. (It might be that you first need to create that folder):
+If you use the default database path you also need to run this:
+
+```
+sudo mkdir -p /var/lib/matrix-conduit/conduit_db
+sudo chown -R conduit:nogroup /var/lib/matrix-conduit/conduit_db
+```
-`sudo chown -R conduit:nogroup /var/lib/matrix-conduit/conduit_db`
## Setting up the Reverse Proxy