work on photoprism
This commit is contained in:
parent
854853f0da
commit
a081b37b8c
|
@ -48,7 +48,7 @@ in {
|
||||||
}
|
}
|
||||||
// (lib.mapAttrs (_: toString) cfg.settings);
|
// (lib.mapAttrs (_: toString) cfg.settings);
|
||||||
in
|
in
|
||||||
pkgs.writeShellScript "photoprism-manage" ''
|
pkgs.writeShellScriptBin "photoprism-manage" ''
|
||||||
set -o allexport
|
set -o allexport
|
||||||
${lib.toShellVars env}
|
${lib.toShellVars env}
|
||||||
eval "$(${config.systemd.package}/bin/systemctl show -pUID,MainPID photoprism.service | ${pkgs.gnused}/bin/sed "s/UID/ServiceUID/")"
|
eval "$(${config.systemd.package}/bin/systemctl show -pUID,MainPID photoprism.service | ${pkgs.gnused}/bin/sed "s/UID/ServiceUID/")"
|
||||||
|
|
Loading…
Reference in a new issue