mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2025-01-08 00:51:23 +00:00
fix: Wrong script name
This commit is contained in:
parent
de3ebdffb1
commit
f678df0074
|
@ -118,7 +118,7 @@ in
|
||||||
|
|
||||||
# Start Pleroma only if pleromaEnabled is true
|
# Start Pleroma only if pleromaEnabled is true
|
||||||
ExecStartPost =
|
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
|
if [ -d "${cfg.dataDir12}" ] && [ ! -d "${cfg.dataDir16}" ]; then
|
||||||
${pkgs.systemd}/bin/systemctl start --no-block pleroma.service
|
${pkgs.systemd}/bin/systemctl start --no-block pleroma.service
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue