mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
cab52b36dc
commit
03eacf6c96
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue