From d881232d2257df1f8f8e93a4fe3f69d905b91dac Mon Sep 17 00:00:00 2001 From: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com> Date: Fri, 29 Apr 2022 17:12:28 +0200 Subject: [PATCH] Fix the update steps (#233) * Fix the update steps * Split the docker commands to multiple lines * Re-add .service --- docs/installation.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 1a57bdf..b53619c 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -218,14 +218,18 @@ If you use a reverse proxy, you **must** configure invidious to properly serve r #### Updating a Docker install ```bash -docker-compose pull && docker-compose up && docker image prune -f +docker-compose pull +docker-compose up -d +docker image prune -f ``` #### Update a manual install ```bash sudo - invidious cd invidious -shards update && shards install && crystal build src/invidious.cr --release +git pull +shards install --production +crystal build src/invidious.cr --release exit systemctl restart invidious.service ```