mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
zammad: fix module/test
This commit is contained in:
parent
c270d3d527
commit
e7aba931e2
2 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ in {
|
|||
serviceConfig.EnvironmentFile = cfg.secretsFile;
|
||||
script = ''
|
||||
echo "Setting password for database '${cfg.dbName}' and user '${cfg.dbUsername}'"
|
||||
${pkgs.utillinux}/bin/runuser -u ${config.services.postgresql.superUser} -- \
|
||||
${pkgs.util-linux}/bin/runuser -u ${config.services.postgresql.superUser} -- \
|
||||
${config.services.postgresql.package}/bin/psql \
|
||||
-c "ALTER ROLE ${cfg.dbUsername} WITH PASSWORD '$PGPASSWORD'"
|
||||
mkdir -p ${cfg.dataDir}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue