From b2049a3b06f1ecfa6cba6a303eb03ff3abdc62e4 Mon Sep 17 00:00:00 2001 From: Feorlen Date: Tue, 14 Feb 2017 13:00:13 -0800 Subject: [PATCH] Clarify the install process's use of the root and zulip users. Fixes #3680. --- docs/prod-install.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/prod-install.md b/docs/prod-install.md index 856dcfeb5b..c3a1d6d3a0 100644 --- a/docs/prod-install.md +++ b/docs/prod-install.md @@ -50,7 +50,8 @@ Then, run the Zulip install script: ``` This may take a while to run, since it will install a large number of -dependencies. +dependencies. It also creates `zulip` user, which will be used to run +the various Zulip servers. The Zulip install script is designed to be idempotent, so if it fails, you can just rerun it after correcting the issue that caused it to @@ -92,8 +93,9 @@ These settings include: ## Step 4: Initialize Zulip database -At this point, you are done doing things as root. To initialize the -Zulip database for your production install, run: +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: ``` su zulip -c /home/zulip/deployments/current/scripts/setup/initialize-database