From 3742711bb78dbdbaf1a575b6d37ff05643f0d40a Mon Sep 17 00:00:00 2001 From: Juhyung Park Date: Thu, 17 Oct 2024 13:12:24 +0900 Subject: [PATCH] Change systemd service file path to /lib/systemd Signed-off-by: Juhyung Park --- README.md | 2 +- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e3120f5..e446426 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ for i in immich*.service; do systemctl stop $i systemctl disable $i done -rm /etc/systemd/system/immich*.service +rm /lib/systemd/system/immich*.service systemctl daemon-reload # Remove Immich files diff --git a/install.sh b/install.sh index 5a6fa1c..035a37e 100755 --- a/install.sh +++ b/install.sh @@ -13,7 +13,7 @@ if [[ "$USER" != "immich" ]]; then for i in immich*.service; do systemctl stop $i && \ systemctl disable $i && \ - rm /etc/systemd/system/$i && + rm /*/systemd/system/$i && systemctl daemon-reload done ) || true @@ -28,7 +28,7 @@ if [[ "$USER" != "immich" ]]; then sudo -u immich $0 $* echo "Starting systemd services" - cp immich*.service /etc/systemd/system/ + cp immich*.service /lib/systemd/system/ systemctl daemon-reload for i in immich*.service; do systemctl enable $i