From 3dc8a86c80a6d2fbcf4c7c02a31c1c60c8e6b598 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Tue, 25 May 2021 11:15:18 +0200
Subject: [PATCH] cd /var/www/peertube in prod guide

Avoid running db creation in /root directory
---
 support/doc/production.md | 1 +
 1 file changed, 1 insertion(+)

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.
 Create the production database and a peertube user inside PostgreSQL:
 
 ```
+$ cd /var/www/peertube
 $ sudo -u postgres createuser -P peertube
 ```