From 546675810b54eabaedc13bd2570e37b6fd40e3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Fri, 3 May 2019 20:16:32 +0200 Subject: [PATCH] Updated Updating the bitwarden image (markdown) --- Updating-the-bitwarden-image.md | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Updating-the-bitwarden-image.md b/Updating-the-bitwarden-image.md index 3604003..0a1427c 100644 --- a/Updating-the-bitwarden-image.md +++ b/Updating-the-bitwarden-image.md @@ -36,9 +36,9 @@ docker rm bitwarden_data ``` -Updating when using systemd service (in this case Debian/Rasbian) +## Updating when using systemd service (in this case Debian/Rasbian) -``` +```sh Sudo systemctl restart bitwarden.service Sudo docker prune -f #WARNING this could delete stopped or unused containers, etc. not associated with bitwarden_rs @@ -65,12 +65,4 @@ Sudo crontab -e 0 3 * * * sudo /usr/bin/docker system prune -f ``` -Use -``` -docker which -``` -If -``` -/usr/bin/docker -``` -is not the correct path to docker \ No newline at end of file +Use `docker which` if `/usr/bin/docker` is not the correct path to docker \ No newline at end of file