diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-25 11:15:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-25 11:35:29 +0200 |
commit | 3dc8a86c80a6d2fbcf4c7c02a31c1c60c8e6b598 (patch) | |
tree | 68739fa0691d6427bda9d7dd96fd1146ee707bb5 | |
parent | d61fa154af248c8456fb60da21507c767917d804 (diff) | |
download | PeerTube-3dc8a86c80a6d2fbcf4c7c02a31c1c60c8e6b598.tar.gz PeerTube-3dc8a86c80a6d2fbcf4c7c02a31c1c60c8e6b598.tar.zst PeerTube-3dc8a86c80a6d2fbcf4c7c02a31c1c60c8e6b598.zip |
cd /var/www/peertube in prod guide
Avoid running db creation in /root directory
-rw-r--r-- | support/doc/production.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/doc/production.md b/support/doc/production.md index 8f3a17f12..81748ae16 100644 --- a/support/doc/production.md +++ b/support/doc/production.md | |||
@@ -38,6 +38,7 @@ or use `adduser` to create it interactively. | |||
38 | Create the production database and a peertube user inside PostgreSQL: | 38 | Create the production database and a peertube user inside PostgreSQL: |
39 | 39 | ||
40 | ``` | 40 | ``` |
41 | $ cd /var/www/peertube | ||
41 | $ sudo -u postgres createuser -P peertube | 42 | $ sudo -u postgres createuser -P peertube |
42 | ``` | 43 | ``` |
43 | 44 | ||