Fix the update steps (#233)

* Fix the update steps

* Split the docker commands to multiple lines

* Re-add .service
This commit is contained in:
TheFrenchGhosty 2022-04-29 17:12:28 +02:00 committed by GitHub
parent 210dcc7e50
commit d881232d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -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
```