aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/siteadmin/deploying.rst
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2014-03-29 12:28:19 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2014-03-29 12:28:19 -0500
commit5526150e1a997bc252aa6376e6924f1b6bfff48a (patch)
treed3f99001e4a78a67427fd9deff957ab4cdaaba28 /docs/source/siteadmin/deploying.rst
parent052d3d985a761fcf1d45593d9c02f4fe5643df8b (diff)
downloadmediagoblin-5526150e1a997bc252aa6376e6924f1b6bfff48a.tar.lz
mediagoblin-5526150e1a997bc252aa6376e6924f1b6bfff48a.tar.xz
mediagoblin-5526150e1a997bc252aa6376e6924f1b6bfff48a.zip
Make the MediaGoblin databse user creation more deterministic.
Thanks RuiSeabra for the suggestion! This commit sponsored by Chad Glendenin. Thanks, Chad!
Diffstat (limited to 'docs/source/siteadmin/deploying.rst')
-rw-r--r--docs/source/siteadmin/deploying.rst8
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst
index 1cf633b3..34033adc 100644
--- a/docs/source/siteadmin/deploying.rst
+++ b/docs/source/siteadmin/deploying.rst
@@ -91,13 +91,7 @@ name will be ``mediagoblin`` too.
To create our new user, run::
- sudo -u postgres createuser mediagoblin
-
-then answer NO to *all* the questions::
-
- Shall the new role be a superuser? (y/n) n
- Shall the new role be allowed to create databases? (y/n) n
- Shall the new role be allowed to create more new roles? (y/n) n
+ sudo -u postgres createuser -A -D mediagoblin
then create the database all our MediaGoblin data should be stored in::