mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-16 03:21:06 +00:00
List installed systemd services, not ones from the repo
Whenever we remove a service from this repo, we need this change to remove residue from the system. Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
@@ -159,7 +159,7 @@ Please add firewall rules and apply https proxy and secure your Immich instance.
|
||||
# Run as root!
|
||||
|
||||
# Remove Immich systemd services
|
||||
for i in immich*.service; do
|
||||
systemctl list-unit-files --type=service | grep "^immich" | while read i unused; do
|
||||
systemctl stop $i
|
||||
systemctl disable $i
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user