diff --git a/postgresql/upgrade12to16.nix b/postgresql/upgrade12to16.nix index 2685559..93a8766 100644 --- a/postgresql/upgrade12to16.nix +++ b/postgresql/upgrade12to16.nix @@ -118,7 +118,7 @@ in # Start Pleroma only if pleromaEnabled is true ExecStartPost = - optional cfg.pleromaEnabled "${pkgs.writeShellScript "postgresql-upgrade12to16-pre.sh" '' + optional cfg.pleromaEnabled "${pkgs.writeShellScript "postgresql-upgrade12to16-post.sh" '' if [ -d "${cfg.dataDir12}" ] && [ ! -d "${cfg.dataDir16}" ]; then ${pkgs.systemd}/bin/systemctl start --no-block pleroma.service fi