There was an error while loading. Please reload this page.
1 parent 1e5255c commit 26a3976Copy full SHA for 26a3976
nix/systemModules/postgres/default.nix
@@ -315,6 +315,10 @@ in
315
# Initialise the database.
316
initdb ${lib.escapeShellArgs cfg.initdbArgs}
317
fi
318
+
319
+ # See postgresql-setup
320
+ touch "${cfg.dataDir}/.first_startup"
321
322
if [ ! -f /etc/postgresql-custom/pgsodium_root.key ]; then
323
umask 077
324
echo "0000000000000000000000000000000000000000000000000000000000000000" > /etc/postgresql-custom/pgsodium_root.key
0 commit comments