From 4f1f6ccc84f47ac9095fc86ab59b9971b02bb301 Mon Sep 17 00:00:00 2001 From: Juhyung Park Date: Fri, 8 Mar 2024 09:24:29 +0900 Subject: [PATCH] Fix uninstallation guide's permission issues Signed-off-by: Juhyung Park --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aa72420..b41e31c 100644 --- a/README.md +++ b/README.md @@ -139,13 +139,15 @@ Please add firewall rules and apply https proxy and secure your Immich instance. ## Uninstallation ``` bash +# Run as root! + # Remove Immich systemd services for i in immich*.service; do - sudo systemctl stop $i - sudo systemctl disable $i + systemctl stop $i + systemctl disable $i done -sudo rm /etc/systemd/system/immich*.service -sudo systemctl daemon-reload +rm /etc/systemd/system/immich*.service +systemctl daemon-reload # Remove Immich files rm -rf /var/lib/immich