Merge pull request #286577 from Pablo1107/photoprism-module/fix-manage-script-typo

nixos/photoprism: fix typo with duplicated exec call
This commit is contained in:
Felix Bühler 2024-02-06 19:09:53 +01:00 committed by GitHub
commit 5dac2ab264
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ let
eval "$(${config.systemd.package}/bin/systemctl show -pUID,MainPID photoprism.service | ${pkgs.gnused}/bin/sed "s/UID/ServiceUID/")"
exec ${pkgs.util-linux}/bin/nsenter \
-t $MainPID -m -S $ServiceUID -G $ServiceUID --wdns=${cfg.storagePath} \
exec ${cfg.package}/bin/photoprism "$@"
${cfg.package}/bin/photoprism "$@"
'';
in
{