docs: Added 'sudo' to cmd. Made 'exit' from postgres acct more clear.
authorJim Campbell <jcampbell@gnome.org>
Tue, 12 May 2015 01:41:01 +0000 (20:41 -0500)
committerJim Campbell <jcampbell@gnome.org>
Tue, 12 May 2015 01:41:01 +0000 (20:41 -0500)
Added a missing reference to 'sudo' in a command. Made the exit from
the postgres account more clear to reduce the chance for user error.

docs/source/siteadmin/deploying.rst

index b88ede8bb86e18228bf13f3301de1f28fedda7dc..183eede8864ea63e0fe6c2440b2bab752826cb39 100644 (file)
@@ -137,7 +137,7 @@ Type ``exit`` to exit from the 'postgres' user account.::
 From here we just need to set the Postgres database to start on boot, and also
 start it up for this particular session.::
 
-    sudo systemctl enable postgresql && systemctl start postgresql
+    sudo systemctl enable postgresql && sudo systemctl start postgresql
 
 .. caution:: Where is the password?
 
@@ -326,6 +326,11 @@ test the deployment with the following command::
 You should be able to connect to the machine on port 6543 in your
 browser to confirm that the service is operable.
 
+The next series of commands will need to be run as a priviledged user. Type
+exit to return to the root/sudo account.::
+
+    exit
+
 .. _webserver-config: