summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2021-04-20 12:31:14 -0500
committerMark Felder <feld@feld.me>2021-04-20 12:31:14 -0500
commit7eded7218922b46c5cc085e715b6031ffff9b6ce (patch)
tree9eeebecf428015113eb90b4e19059bffe42e4cd6
parent7183655a072375603de46dea341c21b099deed7a (diff)
Fix incorrect shell command
Can't be in /opt/pleroma/bin and then call ./bin/pleroma_ctl :)
-rw-r--r--docs/installation/otp_en.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/installation/otp_en.md b/docs/installation/otp_en.md
index 42e264e65..13f9636f3 100644
--- a/docs/installation/otp_en.md
+++ b/docs/installation/otp_en.md
@@ -290,7 +290,7 @@ nginx -t
## Create your first user and set as admin
```sh
-cd /opt/pleroma/bin
+cd /opt/pleroma
su pleroma -s $SHELL -lc "./bin/pleroma_ctl user new joeuser joeuser@sld.tld --admin"
```
This will create an account withe the username of 'joeuser' with the email address of joeuser@sld.tld, and set that user's account as an admin. This will result in a link that you can paste into the browser, which logs you in and enables you to set the password.