fix: Wrong script name

This commit is contained in:
Inex Code 2024-12-24 18:57:54 +03:00
parent de3ebdffb1
commit f678df0074
No known key found for this signature in database

View file

@ -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