22
0
mirror of https://github.com/SuperSandro2000/nixos-modules.git synced 2024-06-01 05:49:22 +02:00

postgres: wait only works with restart or start

This commit is contained in:
Sandro - 2023-01-06 23:08:51 +01:00
parent 73c7ca45f8
commit 7f3825f831
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -50,7 +50,7 @@ in
exit 2
fi
systemctl stop --wait postgresql ${lib.concatStringsSep " " cfgu.stopServices}
systemctl stop postgresql ${lib.concatStringsSep " " cfgu.stopServices}
install -d -m 0700 -o postgres -g postgres "${newData}"
cd "${newData}"