From 6017b6b5639ccefd5c29b7cd8560abb3d9da2735 Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> 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 171f28c44c..3bdc000e41 100644 --- a/docs/installation/debian.rst +++ b/docs/installation/debian.rst @@ -213,6 +213,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:: @@ -228,10 +231,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 --------------- -- GitLab