Skip to content

Dont remove every systemd-service starting with immich during updates #48

Description

@panik105

Say you have Immich-Kiosk (https://github.com/damongolding/immich-kiosk) installed on the same host with Immich.
So you may have created an additional file /etc/systemd/system/immich-kiosk.service beside /lib/systemd/system/immich.service and /lib/systemd/system/immich-machine-learning.service.
This unit gets stopped, disabled and removed every time i start the install.sh from immich-native :-)

I changed
systemctl list-unit-files --type=service | grep "^immich" | while read i unused; do
to
systemctl list-unit-files --type=service | grep -e "immich.service" -e "immich-machine-learning.service" | while read i unused; do

Stopping, disabling and removing exactly those systemd-services, that get added later on again, seems sensible to me..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions