mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
docs: Add explicit command to su to zulip from prod step 5 on.
This commit is contained in:
@@ -108,11 +108,12 @@ order for you to complete the installation.
|
||||
## Step 5: Initialize Zulip database
|
||||
|
||||
At this point, you are done doing things as root. The remaining
|
||||
commands are run as the `zulip` user using `su zulip`. To initialize
|
||||
the Zulip database for your production install, run:
|
||||
commands are run as the `zulip` user. Change to the `zulip` user
|
||||
and initialize the Zulip database for your production install:
|
||||
|
||||
```
|
||||
su zulip -c /home/zulip/deployments/current/scripts/setup/initialize-database
|
||||
su zulip # If you weren't already the zulip user
|
||||
/home/zulip/deployments/current/scripts/setup/initialize-database
|
||||
```
|
||||
|
||||
The `initialize-database` script will report an error if you did not
|
||||
|
||||
Reference in New Issue
Block a user