photoprism: fix LoadCredential syntax

LoadCredential separates the name and path with `:` not `=`. Previously
starting the service with a configured password file would emit a
systemd warning that the credential is being ignored
This commit is contained in:
Ivan Petkov
2025-12-21 09:50:31 -08:00
parent cab52b36dc
commit 03eacf6c96
@@ -135,10 +135,10 @@ in
];
LoadCredential = [
(lib.optionalString (cfg.passwordFile != null) "PHOTOPRISM_ADMIN_PASSWORD_FILE=${cfg.passwordFile}")
(lib.optionalString (cfg.passwordFile != null) "PHOTOPRISM_ADMIN_PASSWORD_FILE:${cfg.passwordFile}")
(lib.optionalString (
cfg.databasePasswordFile != null
) "PHOTOPRISM_DATABASE_PASSWORD=${cfg.databasePasswordFile}")
) "PHOTOPRISM_DATABASE_PASSWORD:${cfg.databasePasswordFile}")
];
LockPersonality = true;