From 964a240cbae3a3095efd6e42281b564cef603229 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Wed, 12 Dec 2018 09:58:07 +0100 Subject: [PATCH] Update debian.rst --- docs/installation/debian.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/installation/debian.rst b/docs/installation/debian.rst index f3235fe0a..77efda723 100644 --- a/docs/installation/debian.rst +++ b/docs/installation/debian.rst @@ -212,6 +212,9 @@ Download the sample environment file: .. parsed-literal:: curl -L -o config/.env "https://dev.funkwhale.audio/funkwhale/funkwhale/raw/develop/deploy/env.prod.sample" + # symlink it so it's sourced automatically by the API process + # (This won't be needed anymore once release 0.18 is out) + ln -s /srv/funkwhale/config/.env /srv/funkwhale/api/.env .. note:: @@ -227,10 +230,6 @@ Especially, populate the ``DATABASE_URL`` and ``CACHE_URL`` values based on how you configured your PostgreSQL and Redis servers in :doc:`external dependencies <./external_dependencies>`. -.. note:: - - The environment file at config/.env is loaded automatically by Funkwhale processes. - Database setup ---------------