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