@Mars160 I wanted to avoid these solutions. In that case I would need patch file for systemd service, pacman hook script for postinstall and it still can make trouble in some cases. That's why I choose ask for a edit of the package itself. In case systemctl edit would somehow disable the other services, maybe by editing them, I'm ok with that. It seems to be nice solution, which persist and don't make any troubles, but I still don't know how to write correct drop file.
Search Criteria
Package Details: immich-server 1.123.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/immich.git (read-only, click to copy) |
---|---|
Package Base: | immich |
Description: | Self-hosted photos and videos backup tool |
Upstream URL: | https://github.com/immich-app/immich |
Licenses: | MIT |
Conflicts: | immich |
Replaces: | immich |
Submitter: | wabi |
Maintainer: | wabi (pikl) |
Last Packager: | pikl |
Votes: | 12 |
Popularity: | 2.37 |
First Submitted: | 2022-12-30 11:41 (UTC) |
Last Updated: | 2024-12-20 19:08 (UTC) |
Dependencies (42)
- brotli (brotli-gitAUR)
- dav1d (dav1d-gitAUR)
- expat (expat-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- highway (highway-gitAUR)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR)
- jellyfin-ffmpeg
- lcms2 (lcms2-ff-gitAUR, lcms2-gitAUR, lcms2-ffAUR)
- libde265 (libde265-gitAUR)
- libexif (libexif-gitAUR)
- libgsf (libgsf-gitAUR)
- libheif (libheif-gitAUR, libheif-highmemAUR)
- libjpeg-turbo (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR)
- liblqr
- libpng (libpng-gitAUR, libpng-apngAUR)
- libraw (libraw-gitAUR)
- librsvg (librsvg-gitAUR)
- libtool (libtool-gitAUR)
- libvips (libvips-gitAUR, libvips-notiffAUR)
- libwebp (libwebp-gitAUR)
- mimalloc
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- openexr (openexr-gitAUR)
- openjpeg2 (openjpeg-gitAUR)
- openslide
- perl-io-compress-brotli
- pgvecto.rsAUR (pgvecto.rsAUR, pgvecto.rs-immichAUR, pgvecto.rs-immich-binAUR, pgvecto.rs-binAUR)
- poppler-glib (poppler-glib-gitAUR)
- postgresql (postgresql-12AUR, postgresql15-docsAUR, postgresql15AUR, postgresql17-docsAUR, postgresql17AUR, postgresql13AUR, postgresql-gitAUR)
- redis (redis-testingAUR, redis-gitAUR, keydbAUR, valkey)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- git (git-gitAUR, git-glAUR) (make)
- jq (jq-gitAUR, jaq-binAUR) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
- python-poetry (python-poetry-gitAUR) (make)
- ts-node (make)
- intel-compute-runtime (intel-compute-runtime-gitAUR, intel-compute-runtime-binAUR, intel-compute-runtime-legacy-binAUR, intel-compute-runtime-legacyAUR) (optional) – OpenCL support
- intel-media-driver (intel-media-driver-gitAUR, intel-media-stack-binAUR) (optional) – HW acceleration
- libva-mesa-driver (mesa-minimal-gitAUR, mesa-gitAUR, mesa-wsl2-gitAUR, mesa) (optional) – GPU acceleration
- mesa-utils (optional) – GPU acceleration
- nginx (nginx-nchan-gitAUR, nginx-rtmp-sergey-gitAUR, nginx-mainline-boringsslAUR, nginx-quic-openssl-hgAUR, nginx-mainline-pushstreamAUR, tengineAUR, tengine-extraAUR, freenginx-mainline-hgAUR, freenginx-mainlineAUR, nginx-quic-libresslAUR, angieAUR, nginx-mainline) (optional) – Reverse proxy
- vulkan-driver (nvidia-410xx-utilsAUR, nvidia-440xx-utilsAUR, nvidia-430xx-utilsAUR, swiftshader-gitAUR, amdvlk-debugAUR, nvidia-vulkan-utilsAUR, amdvlk-2023q3.3AUR, amdvlk-2021q2.5AUR, amdvlk-gitAUR, vulkan-nouveau-gitAUR, mesa-minimal-gitAUR, mesa-gitAUR, vulkan-amdgpu-pro-legacyAUR, amdvlk-binAUR, mesa-wsl2-gitAUR, nvidia-535xx-utilsAUR, nvidia-470xx-utilsAUR, amdonly-gaming-vulkan-radeon-gitAUR, amdonly-gaming-vulkan-swrast-gitAUR, vulkan-radeon-amd-bc250AUR, nvidia-390xx-utilsAUR, nvidia-utils-teslaAUR, nvidia-utils-betaAUR, vulkan-amdgpu-proAUR, nvidia-525xx-utilsAUR, nvidia-510xx-utilsAUR, nvidia-550xx-utilsAUR, amdvlk, nvidia-utils, vulkan-intel, vulkan-nouveau, vulkan-radeon, vulkan-swrast, vulkan-virtio) (optional) – Vulkan support
Required by (1)
Sources (12)
- base-images
- https://download.geonames.org/export/dump/admin1CodesASCII.txt
- https://download.geonames.org/export/dump/admin2Codes.txt
- https://download.geonames.org/export/dump/cities500.zip
- https://raw.githubusercontent.com/nvkelso/natural-earth-vector/v5.1.2/geojson/ne_10m_admin_0_countries.geojson
- immich-1.123.0.tar.gz
- immich-machine-learning.service
- immich-server.service
- immich.conf
- immich.sysusers
- immich.tmpfiles
- nginx.immich.conf
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
ksj commented on 2024-03-13 09:52 (UTC)
hrdl commented on 2024-03-13 09:52 (UTC)
@ksj If you overwrite immich-server.service
, then consider https://wiki.archlinux.org/title/Pacman#Skip_file_from_being_upgraded . Otherwise there's systemctl edit immich-machine-learning
, with a drop-in snippet like this:
[Service]
ExecStart=
ExecStart=/usr/bin/tail -f /dev/null
Mars160 commented on 2024-03-13 09:41 (UTC)
@ksj Sorry, I failed, too. Maybe you should follow @hrdl. Sorry about wasting your time. Or pacman hook may be useful. But I have never tried it before. So this is just a possibility.
It seems that it can run a script automaticly after a package is installed.
Maybe you can write a script to automaticly edit the service file and let it run automaticly after the package is installed or updated in that case?
ksj commented on 2024-03-13 09:35 (UTC)
@hrdl but in that case it is the same. In case of systemctl edit --full will edit whole service and after installation of new version it will be rewritten, so i would have to rewrite it again and again after every installation.
How would look drop-in snippet for immich-machine-learning, which would disable the service? I think if would help edit ExecStart=. But I don't know how to create such snippet
hrdl commented on 2024-03-13 09:26 (UTC)
@ksj After=
(and possibly BindsTo=
) cannot be reset, so systemctl edit --full immich-server
is probably more appropriate, unless you want to create a drop-in snippet for immich-machine-learning.service
.
ksj commented on 2024-03-13 09:21 (UTC)
@Mars160 I have tried according to examples, but no success. The other services are still starting, when I restart immich-server. Can you write me, what exactly should be in this case in drop file?
Mars160 commented on 2024-03-13 08:50 (UTC) (edited on 2024-03-13 08:51 (UTC) by Mars160)
@ksj
Yes. Check this
ksj commented on 2024-03-13 08:46 (UTC)
@Mars160, Interesting. I thought systemctl edit is just other way to edit files without knowledge of their location. But as I now understand, this is just for adding something to service file, not removing, isn't it?
Mars160 commented on 2024-03-13 08:18 (UTC)
@ksj
Maybe you want to use
# systemctl edit immich-server
to create an override file to disable the immich-machine-learning.service?
ksj commented on 2024-03-13 08:14 (UTC)
you still haven't removed nginx from package_immich-server() required dependencies.
Also, I understand for someone can have convenience run other services too: BindsTo=immich-microservices.service immich-machine-learning.service After=immich-microservices.service immich-machine-learning.service But I don't use machine learning in immich (disable in config and web), so I don't even run them. They take only more ram, when used. So, after every new installed package I have to stop them, because they are useless for me. Can you remove this systemd dependency too?
Pinned Comments
pikl commented on 2024-08-05 09:52 (UTC)
From
v1.111.0
, this package does not build withnodejs
<v20
.