work on photoprism

This commit is contained in:
chaos 2024-12-16 15:13:23 +00:00
parent 854853f0da
commit a081b37b8c

View file

@ -48,7 +48,7 @@ in {
}
// (lib.mapAttrs (_: toString) cfg.settings);
in
pkgs.writeShellScript "photoprism-manage" ''
pkgs.writeShellScriptBin "photoprism-manage" ''
set -o allexport
${lib.toShellVars env}
eval "$(${config.systemd.package}/bin/systemctl show -pUID,MainPID photoprism.service | ${pkgs.gnused}/bin/sed "s/UID/ServiceUID/")"